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 SummaryFields Modifier and Type Field Description protected RequiredServiceBindingbindingThe binding for forwarding service calls.protected java.util.List<UnparsedExpression>interceptorsThe list of interceptors.protected java.lang.StringproxytypeThe proxy type.
 - 
Constructor SummaryConstructors 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 SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddInterceptor(UnparsedExpression interceptor)Add an interceptor.RequiredServiceBindinggetBinding()Get the binding.UnparsedExpression[]getInterceptors()Get the interceptors.java.lang.StringgetProxytype()Get the proxy type.voidremoveInterceptor(UnparsedExpression interceptor)Remove an interceptor.voidsetBinding(RequiredServiceBinding binding)Set the binding.voidsetProxytype(java.lang.String proxytype)Set the proxy type.java.lang.StringtoString()Get the string representation.- 
Methods inherited from class jadex.bridge.modelinfo.UnparsedExpressiongetClazz, getLanguage, getName, getParsed, getValue, setClazz, setLanguage, setName, setParsedExp, setValue
 
- 
 
- 
- 
- 
Field Detail- 
bindingprotected RequiredServiceBinding binding The binding for forwarding service calls.
 - 
proxytypeprotected java.lang.String proxytype The proxy type.
 - 
interceptorsprotected java.util.List<UnparsedExpression> interceptors The list of interceptors.
 
- 
 - 
Constructor Detail- 
ProvidedServiceImplementationpublic ProvidedServiceImplementation() Create a new service implementation.
 - 
ProvidedServiceImplementationpublic ProvidedServiceImplementation(java.lang.Class<?> implementation, java.lang.String expression, java.lang.String proxytype, RequiredServiceBinding binding, UnparsedExpression[] interceptors)Create a new service implementation.
 - 
ProvidedServiceImplementationpublic ProvidedServiceImplementation(ProvidedServiceImplementation prov) Create a new service implementation.
 
- 
 - 
Method Detail- 
getProxytypepublic java.lang.String getProxytype() Get the proxy type.- Returns:
- The proxy type.
 
 - 
setProxytypepublic void setProxytype(java.lang.String proxytype) Set the proxy type.- Parameters:
- proxytype- The proxy type to set.
 
 - 
getBindingpublic RequiredServiceBinding getBinding() Get the binding.- Returns:
- The binding.
 
 - 
setBindingpublic void setBinding(RequiredServiceBinding binding) Set the binding.- Parameters:
- binding- The binding to set.
 
 - 
addInterceptorpublic void addInterceptor(UnparsedExpression interceptor) Add an interceptor.- Parameters:
- interceptor- The interceptor.
 
 - 
removeInterceptorpublic void removeInterceptor(UnparsedExpression interceptor) Remove an interceptor.- Parameters:
- interceptor- The interceptor.
 
 - 
getInterceptorspublic UnparsedExpression[] getInterceptors() Get the interceptors.- Returns:
- All interceptors.
 
 - 
toStringpublic java.lang.String toString() Get the string representation.- Overrides:
- toStringin class- UnparsedExpression
 
 
- 
 
-