org.jboss.weld.bootstrap.spi.helpers
Class ForwardingBeanDeploymentArchive
java.lang.Object
org.jboss.weld.bootstrap.spi.helpers.ForwardingBeanDeploymentArchive
- All Implemented Interfaces:
- BeanDeploymentArchive
public abstract class ForwardingBeanDeploymentArchive
- extends java.lang.Object
- implements BeanDeploymentArchive
- Author:
- pmuir
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
ForwardingBeanDeploymentArchive
public ForwardingBeanDeploymentArchive()
delegate
protected abstract BeanDeploymentArchive delegate()
getBeanClasses
public java.util.Collection<java.lang.Class<?>> getBeanClasses()
- Description copied from interface:
BeanDeploymentArchive
- Gets all classes in the bean deployment archive
- Specified by:
getBeanClasses in interface BeanDeploymentArchive
- Returns:
- the classes, empty if no classes are present
getBeanDeploymentArchives
public java.util.Collection<BeanDeploymentArchive> getBeanDeploymentArchives()
- Description copied from interface:
BeanDeploymentArchive
- Get the bean deployment archives which are accessible to this bean
deployment archive and adjacent to it in the deployment archive graph.
Cycles in the accessible BeanDeploymentArchive graph are allowed. If a
cycle is detected by Weld, it will be automatically removed by Web
Beans. This means any implementor of this interface don't need to worry
about circularities.
- Specified by:
getBeanDeploymentArchives in interface BeanDeploymentArchive
- Returns:
- the accessible bean deployment archives
getBeansXml
public java.util.Collection<java.net.URL> getBeansXml()
- Description copied from interface:
BeanDeploymentArchive
- Get any deployment descriptors in the bean deployment archive.
The container will normally return a single deployment descriptor per bean
deployment archive (the physical META-INF/beans.xml or WEB-INF/beans.xml),
however it is permitted to return other deployment descriptors defined
using other methods.
- Specified by:
getBeansXml in interface BeanDeploymentArchive
- Returns:
- the URLs pointing to the deployment descriptor,
or an empty set if none are present
getEjbs
public java.util.Collection<EjbDescriptor<?>> getEjbs()
- Description copied from interface:
BeanDeploymentArchive
- Get all the EJBs in the deployment archive
- Specified by:
getEjbs in interface BeanDeploymentArchive
- Returns:
- the EJBs, or empty if no EJBs are present or if
this is not an EJB archive
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
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2008-2009 Seam Framework. All Rights Reserved.