|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.weld.ejb.spi.helpers.ForwardingEjbDescriptor<T>
public abstract class ForwardingEjbDescriptor<T>
An implementation of 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 Summary | |
|---|---|
ForwardingEjbDescriptor()
|
|
| Method Summary | |
|---|---|
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<java.lang.reflect.Method> |
getRemoveMethods()
Get the remove methods of the EJB |
int |
hashCode()
|
boolean |
isMessageDriven()
Indicates if the EJB is an MDB |
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ForwardingEjbDescriptor()
| Method Detail |
|---|
protected abstract EjbDescriptor<T> delegate()
public java.util.Collection<BusinessInterfaceDescriptor<?>> getLocalBusinessInterfaces()
EjbDescriptor
getLocalBusinessInterfaces in interface EjbDescriptor<T>public java.util.Collection<java.lang.reflect.Method> getRemoveMethods()
EjbDescriptor
getRemoveMethods in interface EjbDescriptor<T>public java.lang.Class<T> getBeanClass()
EjbDescriptor
getBeanClass in interface EjbDescriptor<T>public java.lang.String getEjbName()
EjbDescriptor
getEjbName in interface EjbDescriptor<T>public boolean isMessageDriven()
EjbDescriptor
isMessageDriven in interface EjbDescriptor<T>public boolean isSingleton()
EjbDescriptor
isSingleton in interface EjbDescriptor<T>public boolean isStateful()
EjbDescriptor
isStateful in interface EjbDescriptor<T>public boolean isStateless()
EjbDescriptor
isStateless 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.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||