Class ProvidedServiceImplementation
java.lang.Object
jadex.common.UnparsedExpression
jadex.providedservice.impl.service.ProvidedServiceImplementation
public class ProvidedServiceImplementation
extends jadex.common.UnparsedExpression
Contains information for provided service implementation:
- implementation class or
- creation expression or
- implementation forward to other component via binding
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List
<jadex.common.UnparsedExpression> The list of interceptors.protected String
The proxy type.Fields inherited from class jadex.common.UnparsedExpression
clazz, language, name, parsed, value
-
Constructor Summary
ConstructorsConstructorDescriptionCreate a new service implementation.Create a new service implementation.ProvidedServiceImplementation
(Class<?> implementation, String expression, String proxytype, jadex.common.UnparsedExpression[] interceptors) Create a new service implementation. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addInterceptor
(jadex.common.UnparsedExpression interceptor) Add an interceptor.jadex.common.UnparsedExpression[]
Get the interceptors.Get the proxy type.void
removeInterceptor
(jadex.common.UnparsedExpression interceptor) Remove an interceptor.void
setProxytype
(String proxytype) Set the proxy type.toString()
Get the string representation.Methods inherited from class jadex.common.UnparsedExpression
getClazz, getLanguage, getName, getParsed, getValue, setClazz, setLanguage, setName, setParsedExp, setValue
-
Field Details
-
proxytype
The proxy type. -
interceptors
The list of interceptors.
-
-
Constructor Details
-
ProvidedServiceImplementation
public ProvidedServiceImplementation()Create a new service implementation. -
ProvidedServiceImplementation
public ProvidedServiceImplementation(Class<?> implementation, String expression, String proxytype, jadex.common.UnparsedExpression[] interceptors) Create a new service implementation. -
ProvidedServiceImplementation
Create a new service implementation.
-
-
Method Details
-
getProxytype
Get the proxy type.- Returns:
- The proxy type.
-
setProxytype
Set the proxy type.- Parameters:
proxytype
- The proxy type to set.
-
addInterceptor
public void addInterceptor(jadex.common.UnparsedExpression interceptor) Add an interceptor.- Parameters:
interceptor
- The interceptor.
-
removeInterceptor
public void removeInterceptor(jadex.common.UnparsedExpression interceptor) Remove an interceptor.- Parameters:
interceptor
- The interceptor.
-
getInterceptors
public jadex.common.UnparsedExpression[] getInterceptors()Get the interceptors.- Returns:
- All interceptors.
-
toString
Get the string representation.- Overrides:
toString
in classjadex.common.UnparsedExpression
-