public abstract class ForwardingEjbServices extends Object implements EjbServices
EjbServices
which forwards all its method calls to another EjbServices
. Subclasses
should override one or more methods to modify the behavior of the backing EjbServices
as desired per the decorator pattern.Constructor and Description |
---|
ForwardingEjbServices() |
Modifier and Type | Method and Description |
---|---|
abstract EjbServices |
delegate() |
boolean |
equals(Object obj) |
int |
hashCode() |
void |
registerInterceptors(EjbDescriptor<?> ejbDescriptor,
InterceptorBindings interceptorBindings)
Provides interceptor binding metadata to the container.
|
SessionObjectReference |
resolveEjb(EjbDescriptor<?> ejbDescriptor)
Request a reference to an EJB session object from the container.
|
String |
toString() |
public abstract EjbServices delegate()
public SessionObjectReference resolveEjb(EjbDescriptor<?> ejbDescriptor)
EjbServices
resolveEjb
in interface EjbServices
ejbDescriptor
- the ejb to resolvepublic void registerInterceptors(EjbDescriptor<?> ejbDescriptor, InterceptorBindings interceptorBindings)
EjbServices
registerInterceptors
in interface EjbServices
ejbDescriptor
- the ejb to bound interceptors tointerceptorBindings
- the interceptor bindings descriptorCopyright © 2008-2015. All Rights Reserved.