org.jboss.webbeans.ejb
Class ForwardingEjbDescriptor<T>

java.lang.Object
  extended by org.jboss.webbeans.ejb.ForwardingEjbDescriptor<T>
All Implemented Interfaces:
EjbDescriptor<T>
Direct Known Subclasses:
InternalEjbDescriptor

public abstract class ForwardingEjbDescriptor<T>
extends java.lang.Object
implements EjbDescriptor<T>

Forwarding helper class for EjbDescriptor to support the decorator pattern

Author:
Pete Muir

Constructor Summary
ForwardingEjbDescriptor()
           
 
Method Summary
protected abstract  EjbDescriptor<T> delegate()
           
 boolean equals(java.lang.Object obj)
           
 java.lang.String getEjbName()
           
 java.lang.Iterable<BusinessInterfaceDescriptor<?>> getLocalBusinessInterfaces()
           
 java.lang.Iterable<BusinessInterfaceDescriptor<?>> getRemoteBusinessInterfaces()
           
 java.lang.Iterable<java.lang.reflect.Method> getRemoveMethods()
           
 java.lang.Class<T> getType()
           
 int hashCode()
           
 boolean isMessageDriven()
           
 boolean isSingleton()
           
 boolean isStateful()
           
 boolean isStateless()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ForwardingEjbDescriptor

public ForwardingEjbDescriptor()
Method Detail

delegate

protected abstract EjbDescriptor<T> delegate()

getEjbName

public java.lang.String getEjbName()
Specified by:
getEjbName in interface EjbDescriptor<T>

getLocalBusinessInterfaces

public java.lang.Iterable<BusinessInterfaceDescriptor<?>> getLocalBusinessInterfaces()
Specified by:
getLocalBusinessInterfaces in interface EjbDescriptor<T>

getRemoteBusinessInterfaces

public java.lang.Iterable<BusinessInterfaceDescriptor<?>> getRemoteBusinessInterfaces()
Specified by:
getRemoteBusinessInterfaces in interface EjbDescriptor<T>

getRemoveMethods

public java.lang.Iterable<java.lang.reflect.Method> getRemoveMethods()
Specified by:
getRemoveMethods in interface EjbDescriptor<T>

getType

public java.lang.Class<T> getType()
Specified by:
getType in interface EjbDescriptor<T>

isMessageDriven

public boolean isMessageDriven()
Specified by:
isMessageDriven in interface EjbDescriptor<T>

isSingleton

public boolean isSingleton()
Specified by:
isSingleton in interface EjbDescriptor<T>

isStateful

public boolean isStateful()
Specified by:
isStateful in interface EjbDescriptor<T>

isStateless

public boolean isStateless()
Specified by:
isStateless in interface EjbDescriptor<T>

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2008-2009. All Rights Reserved.