public abstract class ForwardingEjbDescriptor<T> extends java.lang.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(java.lang.Object obj) |
java.lang.Class<T> |
getBeanClass()
Gets the EJB type
|
java.lang.String |
getEjbName()
Get the EJB name
|
java.util.Collection<BusinessInterfaceDescriptor<?>> |
getLocalBusinessInterfaces()
Gets the local business interfaces of the EJB
|
java.util.Collection<BusinessInterfaceDescriptor<?>> |
getRemoteBusinessInterfaces()
Gets the remote business interfaces of the EJB
|
java.util.Collection<java.lang.reflect.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
|
java.lang.String |
toString() |
protected abstract EjbDescriptor<T> delegate()
public java.util.Collection<BusinessInterfaceDescriptor<?>> getLocalBusinessInterfaces()
EjbDescriptorgetLocalBusinessInterfaces in interface EjbDescriptor<T>public java.util.Collection<BusinessInterfaceDescriptor<?>> getRemoteBusinessInterfaces()
EjbDescriptorgetRemoteBusinessInterfaces in interface EjbDescriptor<T>public java.util.Collection<java.lang.reflect.Method> getRemoveMethods()
EjbDescriptorgetRemoveMethods in interface EjbDescriptor<T>public java.lang.Class<T> getBeanClass()
EjbDescriptorgetBeanClass in interface EjbDescriptor<T>public java.lang.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>public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.ObjectCopyright © 2014. All Rights Reserved.