org.jboss.webbeans.bootstrap.spi.helpers
Class ForwardingWebBeanDiscovery
java.lang.Object
org.jboss.webbeans.bootstrap.spi.helpers.ForwardingWebBeanDiscovery
- All Implemented Interfaces:
- Service, 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 META-INF/beans.xml (or
for WARs WEB-INF/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 deployment descriptors in the app classpath
- Specified by:
discoverWebBeansXml
in interface WebBeanDiscovery
- Returns:
- An iterable over the 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 © 2011. All Rights Reserved.