org.glassfish.weld
Class DeploymentImpl

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

public class DeploymentImpl
extends java.lang.Object
implements org.jboss.weld.bootstrap.spi.Deployment


Constructor Summary
DeploymentImpl(ReadableArchive archive, java.util.Collection<EjbDescriptor> ejbs, DeploymentContext context)
          Produce BeanDeploymentArchives for this Deployment from information from the provided ReadableArchive.
 
Method Summary
 void buildDeploymentGraph()
          Build the accessibility relationship between BeanDeploymentArchives for this Deployment.
 void cleanup()
           
 org.jboss.weld.bootstrap.spi.BeanDeploymentArchive getBeanDeploymentArchiveForArchive(java.lang.String archiveId)
           
 java.util.List<org.jboss.weld.bootstrap.spi.BeanDeploymentArchive> getBeanDeploymentArchives()
           
 java.util.List<org.jboss.weld.bootstrap.spi.BeanDeploymentArchive> getBeanDeploymentArchives(boolean printDebug)
           
 java.lang.Iterable<org.jboss.weld.bootstrap.spi.Metadata<javax.enterprise.inject.spi.Extension>> getExtensions()
           
 org.jboss.weld.bootstrap.api.ServiceRegistry getServices()
           
 org.jboss.weld.bootstrap.spi.BeanDeploymentArchive loadBeanDeploymentArchive(java.lang.Class<?> beanClass)
           
 void scanArchive(ReadableArchive archive, java.util.Collection<EjbDescriptor> ejbs, DeploymentContext context)
          Produce BeanDeploymentArchives for this Deployment from information from the provided ReadableArchive.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeploymentImpl

public DeploymentImpl(ReadableArchive archive,
                      java.util.Collection<EjbDescriptor> ejbs,
                      DeploymentContext context)
Produce BeanDeploymentArchives for this Deployment from information from the provided ReadableArchive.

Method Detail

scanArchive

public void scanArchive(ReadableArchive archive,
                        java.util.Collection<EjbDescriptor> ejbs,
                        DeploymentContext context)
Produce BeanDeploymentArchives for this Deployment from information from the provided ReadableArchive. This method is called for subsequent modules after This Deployment has been created.


buildDeploymentGraph

public void buildDeploymentGraph()
Build the accessibility relationship between BeanDeploymentArchives for this Deployment. This method must be called after all Weld BeanDeploymentArchives have been produced for the Deployment.


getBeanDeploymentArchives

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

getBeanDeploymentArchives

public java.util.List<org.jboss.weld.bootstrap.spi.BeanDeploymentArchive> getBeanDeploymentArchives(boolean printDebug)

loadBeanDeploymentArchive

public org.jboss.weld.bootstrap.spi.BeanDeploymentArchive loadBeanDeploymentArchive(java.lang.Class<?> beanClass)
Specified by:
loadBeanDeploymentArchive in interface org.jboss.weld.bootstrap.spi.Deployment

getServices

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

getExtensions

public java.lang.Iterable<org.jboss.weld.bootstrap.spi.Metadata<javax.enterprise.inject.spi.Extension>> getExtensions()
Specified by:
getExtensions in interface org.jboss.weld.bootstrap.spi.Deployment

toString

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

getBeanDeploymentArchiveForArchive

public org.jboss.weld.bootstrap.spi.BeanDeploymentArchive getBeanDeploymentArchiveForArchive(java.lang.String archiveId)

cleanup

public void cleanup()


Copyright © 2012 GlassFish Community. All Rights Reserved.