public class RequiredServiceBinding
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
componentname
The component name used for searching.
|
protected java.lang.String |
componenttype
The component type, i.e.
|
protected boolean |
create
The create flag.
|
protected ComponentInstanceInfo |
creationinfo
Information about the component to create.
|
protected boolean |
dynamic
Flag if binding is dynamic.
|
protected java.util.List<UnparsedExpression> |
interceptors
The interceptors.
|
protected java.lang.String |
name
The service name.
|
protected java.lang.String |
proxytype
The proxytype.
|
protected boolean |
recover
The recover flag.
|
protected java.lang.String |
scope
The search scope.
|
Constructor and Description |
---|
RequiredServiceBinding()
Create a new binding.
|
RequiredServiceBinding(RequiredServiceBinding orig)
Create a new binding.
|
RequiredServiceBinding(java.lang.String name,
java.lang.String scope)
Create a new binding.
|
RequiredServiceBinding(java.lang.String name,
java.lang.String scope,
boolean dynamic)
Create a new binding.
|
RequiredServiceBinding(java.lang.String name,
java.lang.String componentname,
java.lang.String componenttype,
boolean dynamic,
java.lang.String scope,
boolean create,
boolean recover,
UnparsedExpression[] interceptors,
java.lang.String proxytype,
ComponentInstanceInfo component)
Create a new binding.
|
Modifier and Type | Method and Description |
---|---|
void |
addInterceptor(UnparsedExpression interceptor)
Add an interceptor.
|
java.lang.String |
getComponentName()
Get the componentname.
|
java.lang.String |
getComponentType()
Get the componenttype.
|
ComponentInstanceInfo |
getCreationInfo()
Get the creationinfo.
|
UnparsedExpression[] |
getInterceptors()
Get the interceptors.
|
java.lang.String |
getName()
Get the name.
|
java.lang.String |
getProxytype()
Get the proxytype.
|
java.lang.String |
getScope()
Get the scope.
|
boolean |
isCreate()
Get the create.
|
boolean |
isDynamic()
Get the dynamic.
|
boolean |
isRecover()
Get the recover.
|
void |
removeInterceptor(UnparsedExpression interceptor)
Remove an interceptor.
|
void |
setComponentName(java.lang.String componentname)
Set the componentname.
|
void |
setComponentType(java.lang.String componenttype)
Set the componenttype.
|
void |
setCreate(boolean create)
Set the create.
|
void |
setCreationInfo(ComponentInstanceInfo creationinfo)
Set the creationinfo.
|
void |
setDynamic(boolean dynamic)
Set the dynamic.
|
void |
setName(java.lang.String name)
Set the name.
|
void |
setProxytype(java.lang.String proxytype)
Set the proxytype.
|
void |
setRecover(boolean recover)
Set the recover.
|
void |
setScope(java.lang.String scope)
Set the scope.
|
java.lang.String |
toString()
Get the string representation.
|
protected java.lang.String name
protected java.lang.String componentname
protected java.lang.String componenttype
protected ComponentInstanceInfo creationinfo
protected boolean dynamic
protected java.lang.String scope
protected boolean create
protected boolean recover
protected java.util.List<UnparsedExpression> interceptors
protected java.lang.String proxytype
public RequiredServiceBinding()
public RequiredServiceBinding(java.lang.String name, java.lang.String scope)
public RequiredServiceBinding(java.lang.String name, java.lang.String scope, boolean dynamic)
public RequiredServiceBinding(java.lang.String name, java.lang.String componentname, java.lang.String componenttype, boolean dynamic, java.lang.String scope, boolean create, boolean recover, UnparsedExpression[] interceptors, java.lang.String proxytype, ComponentInstanceInfo component)
public RequiredServiceBinding(RequiredServiceBinding orig)
public ComponentInstanceInfo getCreationInfo()
public void setCreationInfo(ComponentInstanceInfo creationinfo)
creationinfo
- The creationinfo to set.public java.lang.String getName()
public void setName(java.lang.String name)
name
- The name to set.public java.lang.String getComponentName()
public void setComponentName(java.lang.String componentname)
componentname
- The componentname to set.public java.lang.String getComponentType()
public void setComponentType(java.lang.String componenttype)
componenttype
- The componenttype to set.public boolean isDynamic()
public void setDynamic(boolean dynamic)
dynamic
- The dynamic to set.public java.lang.String getScope()
public void setScope(java.lang.String scope)
scope
- The scope to set.public boolean isCreate()
public void setCreate(boolean create)
create
- The create to set.public boolean isRecover()
public void setRecover(boolean recover)
recover
- The recover to set.public void addInterceptor(UnparsedExpression interceptor)
interceptor
- The interceptor.public void removeInterceptor(UnparsedExpression interceptor)
interceptor
- The interceptor.public UnparsedExpression[] getInterceptors()
public java.lang.String getProxytype()
public void setProxytype(java.lang.String proxytype)
proxytype
- The proxytype to set.public java.lang.String toString()
toString
in class java.lang.Object