org.jboss.webbeans.bootstrap.spi.helpers
Class ForwardingWebBeanDiscovery
java.lang.Object
org.jboss.webbeans.bootstrap.spi.helpers.ForwardingWebBeanDiscovery
- All Implemented Interfaces:
- WebBeanDiscovery
public abstract class ForwardingWebBeanDiscovery
- extends java.lang.Object
- implements WebBeanDiscovery
An implementation of WebBeanDiscovery which forwards all its method
calls to another WebBeanDiscovery}. Subclasses should override one or
more methods to modify the behavior of the backing WebBeanDiscovery
as desired per the decorator pattern.
- Author:
- Pete Muir
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
ForwardingWebBeanDiscovery
public ForwardingWebBeanDiscovery()
delegate
protected abstract WebBeanDiscovery delegate()
discoverWebBeanClasses
public java.lang.Iterable<java.lang.Class<?>> discoverWebBeanClasses()
- Description copied from interface:
WebBeanDiscovery
- Gets list of all classes in classpath archives with web-beans.xml files
- Specified by:
discoverWebBeanClasses in interface WebBeanDiscovery
- Returns:
- An iterable over the classes
discoverWebBeansXml
public java.lang.Iterable<java.net.URL> discoverWebBeansXml()
- Description copied from interface:
WebBeanDiscovery
- Gets a list of all web-beans.xml files in the app classpath
- Specified by:
discoverWebBeansXml in interface WebBeanDiscovery
- Returns:
- An iterable over the web-beans.xml files
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.