Package jadex.bridge.service
Class RequiredServiceBinding
- java.lang.Object
-
- jadex.bridge.service.RequiredServiceBinding
-
public class RequiredServiceBinding extends java.lang.ObjectRequired service binding information.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringcomponentnameThe component name used for searching.protected java.lang.StringcomponenttypeThe component type, i.e. the model name used for searching.protected ComponentInstanceInfocreationinfoInformation about the component to create.protected java.util.List<UnparsedExpression>interceptorsThe interceptors.protected java.lang.StringnameThe service name.protected java.lang.StringproxytypeThe proxytype.protected ServiceScopescopeThe 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 voidaddInterceptor(UnparsedExpression interceptor)Add an interceptor.java.lang.StringgetComponentName()Get the componentname.java.lang.StringgetComponentType()Get the componenttype.ComponentInstanceInfogetCreationInfo()Get the creationinfo.UnparsedExpression[]getInterceptors()Get the interceptors.java.lang.StringgetName()Get the name.java.lang.StringgetProxytype()Get the proxytype.ServiceScopegetScope()Get the scope.voidremoveInterceptor(UnparsedExpression interceptor)Remove an interceptor.voidsetComponentName(java.lang.String componentname)Set the componentname.voidsetComponentType(java.lang.String componenttype)Set the componenttype.voidsetCreationInfo(ComponentInstanceInfo creationinfo)Set the creationinfo.voidsetName(java.lang.String name)Set the name.voidsetProxytype(java.lang.String proxytype)Set the proxytype.voidsetScope(ServiceScope scope)Set the scope.java.lang.StringtoString()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:
toStringin classjava.lang.Object
-
-