org.glassfish.weld
Class BeanDeploymentArchiveImpl

java.lang.Object
  extended by org.glassfish.weld.BeanDeploymentArchiveImpl
All Implemented Interfaces:
org.jboss.weld.bootstrap.spi.BeanDeploymentArchive

public class BeanDeploymentArchiveImpl
extends java.lang.Object
implements org.jboss.weld.bootstrap.spi.BeanDeploymentArchive


Constructor Summary
BeanDeploymentArchiveImpl(ReadableArchive archive, java.util.Collection<EjbDescriptor> ejbs, DeploymentContext ctx)
          Produce a BeanDeploymentArchive form information contained in the provided ReadableArchive.
BeanDeploymentArchiveImpl(ReadableArchive archive, java.util.Collection<EjbDescriptor> ejbs, DeploymentContext ctx, java.lang.String bdaID)
           
BeanDeploymentArchiveImpl(java.lang.String id, java.util.List<java.lang.Class<?>> wClasses, java.util.Set<java.net.URI> wUris, java.util.Collection<EjbDescriptor> ejbs, DeploymentContext ctx)
           
 
Method Summary
 void addBeanClass(java.lang.String beanClassName)
           
 org.glassfish.weld.WeldUtils.BDAType getBDAType()
           
 java.util.Collection<java.lang.String> getBeanClasses()
           
 java.util.Collection<java.lang.Class<?>> getBeanClassObjects()
           
 java.util.Collection<org.jboss.weld.bootstrap.spi.BeanDeploymentArchive> getBeanDeploymentArchives()
           
 org.jboss.weld.bootstrap.spi.BeansXml getBeansXml()
           
 org.jboss.weld.ejb.spi.EjbDescriptor getEjbDescriptor(java.lang.String ejbName)
           
 java.util.Collection<org.jboss.weld.ejb.spi.EjbDescriptor<?>> getEjbs()
          Gets a descriptor for each EJB
 java.lang.String getFriendlyId()
           
 java.lang.String getId()
           
 javax.enterprise.inject.spi.InjectionTarget<?> getInjectionTarget(javax.enterprise.inject.spi.AnnotatedType<?> annotatedType)
           
 java.util.Collection<java.lang.String> getModuleBeanClasses()
           
 java.lang.ClassLoader getModuleClassLoaderForBDA()
           
 org.jboss.weld.bootstrap.api.ServiceRegistry getServices()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BeanDeploymentArchiveImpl

public BeanDeploymentArchiveImpl(ReadableArchive archive,
                                 java.util.Collection<EjbDescriptor> ejbs,
                                 DeploymentContext ctx)
Produce a BeanDeploymentArchive form information contained in the provided ReadableArchive.

Parameters:
context -

BeanDeploymentArchiveImpl

public BeanDeploymentArchiveImpl(ReadableArchive archive,
                                 java.util.Collection<EjbDescriptor> ejbs,
                                 DeploymentContext ctx,
                                 java.lang.String bdaID)

BeanDeploymentArchiveImpl

public BeanDeploymentArchiveImpl(java.lang.String id,
                                 java.util.List<java.lang.Class<?>> wClasses,
                                 java.util.Set<java.net.URI> wUris,
                                 java.util.Collection<EjbDescriptor> ejbs,
                                 DeploymentContext ctx)
Method Detail

getBeanDeploymentArchives

public java.util.Collection<org.jboss.weld.bootstrap.spi.BeanDeploymentArchive> getBeanDeploymentArchives()
Specified by:
getBeanDeploymentArchives in interface org.jboss.weld.bootstrap.spi.BeanDeploymentArchive

getBeanClasses

public java.util.Collection<java.lang.String> getBeanClasses()
Specified by:
getBeanClasses in interface org.jboss.weld.bootstrap.spi.BeanDeploymentArchive

getBeanClassObjects

public java.util.Collection<java.lang.Class<?>> getBeanClassObjects()

getModuleBeanClasses

public java.util.Collection<java.lang.String> getModuleBeanClasses()

addBeanClass

public void addBeanClass(java.lang.String beanClassName)

getBeansXml

public org.jboss.weld.bootstrap.spi.BeansXml getBeansXml()
Specified by:
getBeansXml in interface org.jboss.weld.bootstrap.spi.BeanDeploymentArchive

getEjbs

public java.util.Collection<org.jboss.weld.ejb.spi.EjbDescriptor<?>> getEjbs()
Gets a descriptor for each EJB

Specified by:
getEjbs in interface org.jboss.weld.bootstrap.spi.BeanDeploymentArchive
Returns:
the EJB descriptors

getEjbDescriptor

public org.jboss.weld.ejb.spi.EjbDescriptor getEjbDescriptor(java.lang.String ejbName)

getServices

public org.jboss.weld.bootstrap.api.ServiceRegistry getServices()
Specified by:
getServices in interface org.jboss.weld.bootstrap.spi.BeanDeploymentArchive

getId

public java.lang.String getId()
Specified by:
getId in interface org.jboss.weld.bootstrap.spi.BeanDeploymentArchive

getFriendlyId

public java.lang.String getFriendlyId()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getBDAType

public org.glassfish.weld.WeldUtils.BDAType getBDAType()

getInjectionTarget

public javax.enterprise.inject.spi.InjectionTarget<?> getInjectionTarget(javax.enterprise.inject.spi.AnnotatedType<?> annotatedType)

getModuleClassLoaderForBDA

public java.lang.ClassLoader getModuleClassLoaderForBDA()


Copyright © 2012 GlassFish Community. All Rights Reserved.