public class ProvidedServiceImplementation extends UnparsedExpression
Modifier and Type | Field and 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 and Description |
---|
ProvidedServiceImplementation()
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.
|
ProvidedServiceImplementation(ProvidedServiceImplementation prov)
Create a new service implementation.
|
Modifier and Type | Method and 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.
|
getClazz, getLanguage, getName, getParsed, getValue, setClazz, setLanguage, setName, setParsedExp, setValue
protected RequiredServiceBinding binding
protected java.lang.String proxytype
protected java.util.List<UnparsedExpression> interceptors
public ProvidedServiceImplementation()
public ProvidedServiceImplementation(java.lang.Class<?> implementation, java.lang.String expression, java.lang.String proxytype, RequiredServiceBinding binding, UnparsedExpression[] interceptors)
public ProvidedServiceImplementation(ProvidedServiceImplementation prov)
public java.lang.String getProxytype()
public void setProxytype(java.lang.String proxytype)
proxytype
- The proxy type to set.public RequiredServiceBinding getBinding()
public void setBinding(RequiredServiceBinding binding)
binding
- The binding to set.public void addInterceptor(UnparsedExpression interceptor)
interceptor
- The interceptor.public void removeInterceptor(UnparsedExpression interceptor)
interceptor
- The interceptor.public UnparsedExpression[] getInterceptors()
public java.lang.String toString()
toString
in class UnparsedExpression