Package jadex.bridge.service
Class RequiredServiceBinding
- java.lang.Object
-
- jadex.bridge.service.RequiredServiceBinding
-
public class RequiredServiceBinding extends java.lang.Object
Required service binding information.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
componentname
The component name used for searching.protected java.lang.String
componenttype
The component type, i.e. the model name used for searching.protected ComponentInstanceInfo
creationinfo
Information about the component to create.protected java.util.List<UnparsedExpression>
interceptors
The interceptors.protected java.lang.String
name
The service name.protected java.lang.String
proxytype
The proxytype.protected ServiceScope
scope
The search scope.
-
Constructor Summary
Constructors Constructor Description RequiredServiceBinding()
Create a new binding.RequiredServiceBinding(RequiredServiceBinding orig)
Create a new binding.RequiredServiceBinding(java.lang.String name, ServiceScope scope)
Create a new binding.RequiredServiceBinding(java.lang.String name, java.lang.String componentname, java.lang.String componenttype, ServiceScope scope, UnparsedExpression[] interceptors, java.lang.String proxytype)
Create a new binding.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.ServiceScope
getScope()
Get the scope.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
setCreationInfo(ComponentInstanceInfo creationinfo)
Set the creationinfo.void
setName(java.lang.String name)
Set the name.void
setProxytype(java.lang.String proxytype)
Set the proxytype.void
setScope(ServiceScope scope)
Set the scope.java.lang.String
toString()
Get the string representation.
-
-
-
Field Detail
-
name
protected java.lang.String name
The service name.
-
componentname
protected java.lang.String componentname
The component name used for searching.
-
componenttype
protected java.lang.String componenttype
The component type, i.e. the model name used for searching.
-
creationinfo
protected ComponentInstanceInfo creationinfo
Information about the component to create.
-
scope
protected ServiceScope scope
The search scope.
-
interceptors
protected java.util.List<UnparsedExpression> interceptors
The interceptors.
-
proxytype
protected java.lang.String proxytype
The proxytype.
-
-
Constructor Detail
-
RequiredServiceBinding
public RequiredServiceBinding()
Create a new binding.
-
RequiredServiceBinding
public RequiredServiceBinding(java.lang.String name, ServiceScope scope)
Create a new binding.
-
RequiredServiceBinding
public RequiredServiceBinding(java.lang.String name, java.lang.String componentname, java.lang.String componenttype, ServiceScope scope, UnparsedExpression[] interceptors, java.lang.String proxytype)
Create a new binding.
-
RequiredServiceBinding
public RequiredServiceBinding(RequiredServiceBinding orig)
Create a new binding.
-
-
Method Detail
-
getCreationInfo
public ComponentInstanceInfo getCreationInfo()
Get the creationinfo.- Returns:
- The creationinfo.
-
setCreationInfo
public void setCreationInfo(ComponentInstanceInfo creationinfo)
Set the creationinfo.- Parameters:
creationinfo
- The creationinfo to set.
-
getName
public java.lang.String getName()
Get the name.- Returns:
- the name.
-
setName
public void setName(java.lang.String name)
Set the name.- Parameters:
name
- The name to set.
-
getComponentName
public java.lang.String getComponentName()
Get the componentname.- Returns:
- the componentname.
-
setComponentName
public void setComponentName(java.lang.String componentname)
Set the componentname.- Parameters:
componentname
- The componentname to set.
-
getComponentType
public java.lang.String getComponentType()
Get the componenttype.- Returns:
- the componenttype.
-
setComponentType
public void setComponentType(java.lang.String componenttype)
Set the componenttype.- Parameters:
componenttype
- The componenttype to set.
-
getScope
public ServiceScope getScope()
Get the scope.- Returns:
- the scope.
-
setScope
public void setScope(ServiceScope scope)
Set the scope.- Parameters:
scope
- The scope to set.
-
addInterceptor
public void addInterceptor(UnparsedExpression interceptor)
Add an interceptor.- Parameters:
interceptor
- The interceptor.
-
removeInterceptor
public void removeInterceptor(UnparsedExpression interceptor)
Remove an interceptor.- Parameters:
interceptor
- The interceptor.
-
getInterceptors
public UnparsedExpression[] getInterceptors()
Get the interceptors.- Returns:
- All interceptors.
-
getProxytype
public java.lang.String getProxytype()
Get the proxytype.- Returns:
- the proxytype.
-
setProxytype
public void setProxytype(java.lang.String proxytype)
Set the proxytype.- Parameters:
proxytype
- The proxytype to set.
-
toString
public java.lang.String toString()
Get the string representation.- Overrides:
toString
in classjava.lang.Object
-
-