public class BeanDeploymentArchiveImpl extends Object implements org.jboss.weld.bootstrap.spi.BeanDeploymentArchive
| Constructor and Description |
|---|
BeanDeploymentArchiveImpl(ReadableArchive archive,
Collection<EjbDescriptor> ejbs,
DeploymentContext ctx)
Produce a
BeanDeploymentArchive form information contained
in the provided ReadableArchive. |
BeanDeploymentArchiveImpl(ReadableArchive archive,
Collection<EjbDescriptor> ejbs,
DeploymentContext ctx,
String bdaID) |
BeanDeploymentArchiveImpl(String id,
List<Class<?>> wClasses,
List<URL> beansXmlUrls,
Collection<EjbDescriptor> ejbs,
DeploymentContext ctx)
These are for empty BDAs that do not model Bean classes in the current
//deployment unit -- for example: BDAs for portable Extensions.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addBeanClass(String beanClassName) |
WeldUtils.BDAType |
getBDAType()
Gets the Bean Deployment Archive type
|
Collection<String> |
getBeanClasses() |
Collection<Class<?>> |
getBeanClassObjects() |
Collection<org.jboss.weld.bootstrap.spi.BeanDeploymentArchive> |
getBeanDeploymentArchives() |
org.jboss.weld.bootstrap.spi.BeansXml |
getBeansXml() |
org.jboss.weld.ejb.spi.EjbDescriptor |
getEjbDescriptor(String ejbName) |
Collection<org.jboss.weld.ejb.spi.EjbDescriptor<?>> |
getEjbs()
Gets a descriptor for each EJB
|
String |
getFriendlyId() |
String |
getId() |
javax.enterprise.inject.spi.InjectionTarget<?> |
getInjectionTarget(javax.enterprise.inject.spi.AnnotatedType<?> annotatedType) |
Collection<String> |
getModuleBeanClasses() |
Collection<Class<?>> |
getModuleBeanClassObjects() |
ClassLoader |
getModuleClassLoaderForBDA() |
org.jboss.weld.bootstrap.api.ServiceRegistry |
getServices() |
boolean |
isDeploymentComplete() |
protected org.jboss.weld.bootstrap.spi.BeansXml |
parseBeansXML(ReadableArchive archive,
String beansXMLPath) |
void |
setDeploymentComplete(boolean deploymentComplete) |
String |
toString() |
public BeanDeploymentArchiveImpl(ReadableArchive archive, Collection<EjbDescriptor> ejbs, DeploymentContext ctx)
BeanDeploymentArchive form information contained
in the provided ReadableArchive.archive - ejbs - ctx - public BeanDeploymentArchiveImpl(ReadableArchive archive, Collection<EjbDescriptor> ejbs, DeploymentContext ctx, String bdaID)
public BeanDeploymentArchiveImpl(String id, List<Class<?>> wClasses, List<URL> beansXmlUrls, Collection<EjbDescriptor> ejbs, DeploymentContext ctx)
public Collection<org.jboss.weld.bootstrap.spi.BeanDeploymentArchive> getBeanDeploymentArchives()
getBeanDeploymentArchives in interface org.jboss.weld.bootstrap.spi.BeanDeploymentArchivepublic Collection<String> getBeanClasses()
getBeanClasses in interface org.jboss.weld.bootstrap.spi.BeanDeploymentArchivepublic Collection<Class<?>> getBeanClassObjects()
public Collection<String> getModuleBeanClasses()
public Collection<Class<?>> getModuleBeanClassObjects()
public void addBeanClass(String beanClassName)
public org.jboss.weld.bootstrap.spi.BeansXml getBeansXml()
getBeansXml in interface org.jboss.weld.bootstrap.spi.BeanDeploymentArchivepublic Collection<org.jboss.weld.ejb.spi.EjbDescriptor<?>> getEjbs()
getEjbs in interface org.jboss.weld.bootstrap.spi.BeanDeploymentArchivepublic org.jboss.weld.ejb.spi.EjbDescriptor getEjbDescriptor(String ejbName)
public org.jboss.weld.bootstrap.api.ServiceRegistry getServices()
getServices in interface org.jboss.weld.bootstrap.spi.BeanDeploymentArchivepublic String getId()
getId in interface org.jboss.weld.bootstrap.spi.BeanDeploymentArchivepublic String getFriendlyId()
public WeldUtils.BDAType getBDAType()
public javax.enterprise.inject.spi.InjectionTarget<?> getInjectionTarget(javax.enterprise.inject.spi.AnnotatedType<?> annotatedType)
public ClassLoader getModuleClassLoaderForBDA()
protected org.jboss.weld.bootstrap.spi.BeansXml parseBeansXML(ReadableArchive archive, String beansXMLPath) throws IOException
IOExceptionpublic boolean isDeploymentComplete()
public void setDeploymentComplete(boolean deploymentComplete)
Copyright © 2017. All rights reserved.