public abstract class ForwardingBeanDeploymentArchive extends Object implements BeanDeploymentArchive
Constructor and Description |
---|
ForwardingBeanDeploymentArchive() |
Modifier and Type | Method and Description |
---|---|
protected abstract BeanDeploymentArchive |
delegate() |
boolean |
equals(Object obj) |
Collection<String> |
getBeanClasses()
Gets all classes in the bean deployment archive.
|
Collection<BeanDeploymentArchive> |
getBeanDeploymentArchives()
Get the bean deployment archives which are accessible to this bean deployment archive and adjacent to it in the
deployment archive graph.
|
BeansXml |
getBeansXml()
Get any deployment descriptors in the bean deployment archive.
|
Collection<EjbDescriptor<?>> |
getEjbs()
Get all the EJBs in the deployment archive
|
String |
getId()
Get a string which uniquely identifies the
BeanDeploymentArchive within the Deployment . |
Collection<String> |
getKnownClasses()
If possible, return all the classes found in the archive.
|
Collection<Class<?>> |
getLoadedBeanClasses()
Get all pre-loaded classes for the bean deployment archive.
|
ServiceRegistry |
getServices()
Get the Bean Deployment Archive scoped services
|
int |
hashCode() |
String |
toString() |
protected abstract BeanDeploymentArchive delegate()
public Collection<String> getBeanClasses()
BeanDeploymentArchive
For an explicit bean archive this method returns a collection of all types present within the archive.
For an implicit bean archive this method returns all the types found in the archive which are annotated with a bean defining annotation or are Session bean definitions.
getBeanClasses
in interface BeanDeploymentArchive
public Collection<String> getKnownClasses()
BeanDeploymentArchive
BeanDeploymentArchive.getBeanClasses()
. For implicit bean archive this method should also return types which are neither annotated with bean defining annotations nor
are Session bean definitions.getKnownClasses
in interface BeanDeploymentArchive
public Collection<Class<?>> getLoadedBeanClasses()
BeanDeploymentArchive
BeanDeploymentArchive.getBeanClasses()
.
If two names overlap the class object returned from this method is used.getLoadedBeanClasses
in interface BeanDeploymentArchive
public ServiceRegistry getServices()
BeanDeploymentArchive
getServices
in interface BeanDeploymentArchive
public String getId()
BeanDeploymentArchive
BeanDeploymentArchive
within the Deployment
. The identifier
must be consistent between multiple occurrences of this deployment.getId
in interface BeanDeploymentArchive
public Collection<BeanDeploymentArchive> getBeanDeploymentArchives()
BeanDeploymentArchive
getBeanDeploymentArchives
in interface BeanDeploymentArchive
public BeansXml getBeansXml()
BeanDeploymentArchive
getBeansXml
in interface BeanDeploymentArchive
Bootstrap.parse(java.net.URL)
,
Bootstrap.parse(Iterable)
public Collection<EjbDescriptor<?>> getEjbs()
BeanDeploymentArchive
getEjbs
in interface BeanDeploymentArchive
Copyright © 2008–2017. All rights reserved.