Package jadex.bridge.service
Class ProvidedServiceImplementation
- java.lang.Object
-
- jadex.bridge.modelinfo.UnparsedExpression
-
- jadex.bridge.service.ProvidedServiceImplementation
-
public class ProvidedServiceImplementation extends UnparsedExpression
Contains information for provided service implementation: - implementation class or - creation expression or - implementation forward to other component via binding
-
-
Field Summary
Fields Modifier and Type Field Description protected RequiredServiceBinding
binding
The binding for forwarding service calls.protected java.util.List<UnparsedExpression>
interceptors
The list of interceptors.protected java.lang.String
proxytype
The proxy type.
-
Constructor Summary
Constructors Constructor Description ProvidedServiceImplementation()
Create a new service implementation.ProvidedServiceImplementation(ProvidedServiceImplementation prov)
Create a new service implementation.ProvidedServiceImplementation(java.lang.Class<?> implementation, java.lang.String expression, java.lang.String proxytype, RequiredServiceBinding binding, UnparsedExpression[] interceptors)
Create a new service implementation.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addInterceptor(UnparsedExpression interceptor)
Add an interceptor.RequiredServiceBinding
getBinding()
Get the binding.UnparsedExpression[]
getInterceptors()
Get the interceptors.java.lang.String
getProxytype()
Get the proxy type.void
removeInterceptor(UnparsedExpression interceptor)
Remove an interceptor.void
setBinding(RequiredServiceBinding binding)
Set the binding.void
setProxytype(java.lang.String proxytype)
Set the proxy type.java.lang.String
toString()
Get the string representation.-
Methods inherited from class jadex.bridge.modelinfo.UnparsedExpression
getClazz, getLanguage, getName, getParsed, getValue, setClazz, setLanguage, setName, setParsedExp, setValue
-
-
-
-
Field Detail
-
binding
protected RequiredServiceBinding binding
The binding for forwarding service calls.
-
proxytype
protected java.lang.String proxytype
The proxy type.
-
interceptors
protected java.util.List<UnparsedExpression> interceptors
The list of interceptors.
-
-
Constructor Detail
-
ProvidedServiceImplementation
public ProvidedServiceImplementation()
Create a new service implementation.
-
ProvidedServiceImplementation
public ProvidedServiceImplementation(java.lang.Class<?> implementation, java.lang.String expression, java.lang.String proxytype, RequiredServiceBinding binding, UnparsedExpression[] interceptors)
Create a new service implementation.
-
ProvidedServiceImplementation
public ProvidedServiceImplementation(ProvidedServiceImplementation prov)
Create a new service implementation.
-
-
Method Detail
-
getProxytype
public java.lang.String getProxytype()
Get the proxy type.- Returns:
- The proxy type.
-
setProxytype
public void setProxytype(java.lang.String proxytype)
Set the proxy type.- Parameters:
proxytype
- The proxy type to set.
-
getBinding
public RequiredServiceBinding getBinding()
Get the binding.- Returns:
- The binding.
-
setBinding
public void setBinding(RequiredServiceBinding binding)
Set the binding.- Parameters:
binding
- The binding 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.
-
toString
public java.lang.String toString()
Get the string representation.- Overrides:
toString
in classUnparsedExpression
-
-