public abstract class ForwardingEjbDescriptor<T> extends Object implements EjbDescriptor<T>
EjbDescriptor which forwards all its method calls to another EjbDescriptor . Subclasses
should override one or more methods to modify the behavior of the backing EjbDescriptor as desired per the decorator pattern.| Constructor and Description |
|---|
ForwardingEjbDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract EjbDescriptor<T> |
delegate() |
boolean |
equals(Object obj) |
Class<T> |
getBeanClass()
Gets the EJB type
|
String |
getEjbName()
Get the EJB name
|
Collection<BusinessInterfaceDescriptor<?>> |
getLocalBusinessInterfaces()
Gets the local business interfaces of the EJB
|
Collection<BusinessInterfaceDescriptor<?>> |
getRemoteBusinessInterfaces()
Gets the remote business interfaces of the EJB
|
Collection<Method> |
getRemoveMethods()
Get the remove methods of the EJB
|
int |
hashCode() |
boolean |
isMessageDriven()
Indicates if the EJB is an MDB
|
boolean |
isPassivationCapable()
Indicates if the EJB is passivation capable.
|
boolean |
isSingleton()
Indicates if the bean is a EJB 3.1 Singleton session bean
|
boolean |
isStateful()
Indicates if the EJB is a stateful session bean
|
boolean |
isStateless()
Indicates if the bean is a stateless session bean
|
String |
toString() |
protected abstract EjbDescriptor<T> delegate()
public Collection<BusinessInterfaceDescriptor<?>> getLocalBusinessInterfaces()
EjbDescriptorgetLocalBusinessInterfaces in interface EjbDescriptor<T>public Collection<BusinessInterfaceDescriptor<?>> getRemoteBusinessInterfaces()
EjbDescriptorgetRemoteBusinessInterfaces in interface EjbDescriptor<T>public Collection<Method> getRemoveMethods()
EjbDescriptorgetRemoveMethods in interface EjbDescriptor<T>public Class<T> getBeanClass()
EjbDescriptorgetBeanClass in interface EjbDescriptor<T>public String getEjbName()
EjbDescriptorgetEjbName in interface EjbDescriptor<T>public boolean isMessageDriven()
EjbDescriptorisMessageDriven in interface EjbDescriptor<T>public boolean isSingleton()
EjbDescriptorisSingleton in interface EjbDescriptor<T>public boolean isStateful()
EjbDescriptorisStateful in interface EjbDescriptor<T>public boolean isStateless()
EjbDescriptorisStateless in interface EjbDescriptor<T>public boolean isPassivationCapable()
EjbDescriptorIndicates if the EJB is passivation capable.
passivationCapable element of the
Stateful annotation is set to false or the passivation-capable element of the session
deployment descriptor element is set to falseisPassivationCapable in interface EjbDescriptor<T>Copyright © 2008-2015. All Rights Reserved.