Package jadex.requiredservice
Class RequiredServiceBinding
java.lang.Object
jadex.requiredservice.RequiredServiceBinding
Required service binding information.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String
The component name used for searching.protected String
The component type, i.e.protected List
<jadex.common.UnparsedExpression> The interceptors.protected String
The service name.protected String
The proxytype.protected jadex.providedservice.ServiceScope
The search scope.protected jadex.common.UnparsedExpression
The scope expression (if any). -
Constructor Summary
ConstructorsConstructorDescriptionCreate a new binding.Create a new binding.RequiredServiceBinding
(String name, jadex.providedservice.ServiceScope scope) Create a new binding.RequiredServiceBinding
(String name, String componentname, String componenttype, jadex.providedservice.ServiceScope scope, jadex.common.UnparsedExpression[] interceptors, String proxytype) Create a new binding. -
Method Summary
Modifier and TypeMethodDescriptionaddInterceptor
(jadex.common.UnparsedExpression interceptor) Add an interceptor.Get the componentname.Get the componenttype.jadex.common.UnparsedExpression[]
Get the interceptors.getName()
Get the name.Get the proxytype.jadex.providedservice.ServiceScope
getScope()
Get the scope.jadex.common.UnparsedExpression
Get the scope expression.removeInterceptor
(jadex.common.UnparsedExpression interceptor) Remove an interceptor.setComponentName
(String componentname) Set the componentname.setComponentType
(String componenttype) Set the componenttype.Set the name.setProxytype
(String proxytype) Set the proxytype.setScope
(jadex.providedservice.ServiceScope scope) Set the scope.setScopeExpression
(jadex.common.UnparsedExpression expression) Set the scope expression.toString()
Get the string representation.
-
Field Details
-
name
The service name. -
componentname
The component name used for searching. -
componenttype
The component type, i.e. the model name used for searching. -
scope
protected jadex.providedservice.ServiceScope scopeThe search scope. -
scopeexpression
protected jadex.common.UnparsedExpression scopeexpressionThe scope expression (if any). -
interceptors
The interceptors. -
proxytype
The proxytype.
-
-
Constructor Details
-
RequiredServiceBinding
public RequiredServiceBinding()Create a new binding. -
RequiredServiceBinding
Create a new binding. -
RequiredServiceBinding
public RequiredServiceBinding(String name, String componentname, String componenttype, jadex.providedservice.ServiceScope scope, jadex.common.UnparsedExpression[] interceptors, String proxytype) Create a new binding. -
RequiredServiceBinding
Create a new binding.
-
-
Method Details
-
getName
Get the name.- Returns:
- the name.
-
setName
Set the name.- Parameters:
name
- The name to set.
-
getComponentName
Get the componentname.- Returns:
- the componentname.
-
setComponentName
Set the componentname.- Parameters:
componentname
- The componentname to set.
-
getComponentType
Get the componenttype.- Returns:
- the componenttype.
-
setComponentType
Set the componenttype.- Parameters:
componenttype
- The componenttype to set.
-
getScope
public jadex.providedservice.ServiceScope getScope()Get the scope.- Returns:
- the scope.
-
setScope
Set the scope.- Parameters:
scope
- The scope to set.
-
getScopeExpression
public jadex.common.UnparsedExpression getScopeExpression()Get the scope expression.- Returns:
- The scope expression.
-
setScopeExpression
Set the scope expression.- Parameters:
expression
- The scope expression to set.
-
addInterceptor
Add an interceptor.- Parameters:
interceptor
- The interceptor.
-
removeInterceptor
Remove an interceptor.- Parameters:
interceptor
- The interceptor.
-
getInterceptors
public jadex.common.UnparsedExpression[] getInterceptors()Get the interceptors.- Returns:
- All interceptors.
-
getProxytype
Get the proxytype.- Returns:
- the proxytype.
-
setProxytype
Set the proxytype.- Parameters:
proxytype
- The proxytype to set.
-
toString
Get the string representation.
-