|
||||||||||
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(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 |
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()
|
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 Collection<BusinessInterfaceDescriptor<?>> getLocalBusinessInterfaces()
EjbDescriptor
getLocalBusinessInterfaces
in interface EjbDescriptor<T>
public Collection<BusinessInterfaceDescriptor<?>> getRemoteBusinessInterfaces()
EjbDescriptor
getRemoteBusinessInterfaces
in interface EjbDescriptor<T>
public Collection<Method> getRemoveMethods()
EjbDescriptor
getRemoveMethods
in interface EjbDescriptor<T>
public Class<T> getBeanClass()
EjbDescriptor
getBeanClass
in interface EjbDescriptor<T>
public 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(Object obj)
equals
in class Object
public String toString()
toString
in class Object
public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |