org.jboss.webbeans.bootstrap.spi
Class ForwardingEjbDiscovery
java.lang.Object
org.jboss.webbeans.bootstrap.spi.ForwardingEjbDiscovery
- All Implemented Interfaces:
- EjbDiscovery
public abstract class ForwardingEjbDiscovery
- extends java.lang.Object
- implements EjbDiscovery
An implementation of EjbDiscovery which forwards all its method calls
to another EjbDiscovery}. Subclasses should override one or more
methods to modify the behavior of the backing EjbDiscovery as desired
per the decorator pattern.
- Author:
- Pete Muir
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
ForwardingEjbDiscovery
public ForwardingEjbDiscovery()
delegate
protected abstract EjbDiscovery delegate()
discoverEjbs
public java.lang.Iterable<EjbDescriptor<?>> discoverEjbs()
- Description copied from interface:
EjbDiscovery
- Gets a descriptor for each EJB in the application
- Specified by:
discoverEjbs in interface EjbDiscovery
- Returns:
- The bean class to descriptor map
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
Copyright © 2008-2009. All Rights Reserved.