org.jboss.webbeans.xml
Class XmlEnvironment

java.lang.Object
  extended by org.jboss.webbeans.xml.XmlEnvironment

public class XmlEnvironment
extends java.lang.Object


Constructor Summary
  XmlEnvironment(ServiceRegistry serviceRegistry, EjbDescriptorCache ejbDescriptors, ManagerImpl manager)
           
protected XmlEnvironment(ServiceRegistry serviceRegistry, java.lang.Iterable<java.net.URL> beanXmlUrls, EjbDescriptorCache ejbDescriptors, ManagerImpl manager)
           
 
Method Summary
 java.util.List<AnnotatedAnnotation<?>> getAnnotations()
           
 java.lang.Iterable<java.net.URL> getBeansXmlUrls()
           
 java.util.List<AnnotatedClass<?>> getClasses()
           
 EjbDescriptorCache getEjbDescriptors()
           
 java.util.List<java.lang.Class<? extends java.lang.annotation.Annotation>> getEnabledDeploymentTypes()
           
 ManagerImpl getManager()
           
 java.util.Set<AbstractJavaEEResourceBean<?>> getResourceBeans()
           
 ServiceRegistry getServices()
           
<T extends java.lang.annotation.Annotation>
java.lang.Class<? extends T>
loadAnnotation(java.lang.String className, java.lang.Class<T> expectedType)
           
<T> AnnotatedClass<? extends T>
loadClass(java.lang.String className, java.lang.Class<T> expectedType)
           
 java.net.URL loadFileByUrn(java.lang.String urn, java.lang.String fileName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlEnvironment

public XmlEnvironment(ServiceRegistry serviceRegistry,
                      EjbDescriptorCache ejbDescriptors,
                      ManagerImpl manager)

XmlEnvironment

protected XmlEnvironment(ServiceRegistry serviceRegistry,
                         java.lang.Iterable<java.net.URL> beanXmlUrls,
                         EjbDescriptorCache ejbDescriptors,
                         ManagerImpl manager)
Method Detail

getClasses

public java.util.List<AnnotatedClass<?>> getClasses()

getAnnotations

public java.util.List<AnnotatedAnnotation<?>> getAnnotations()

getBeansXmlUrls

public java.lang.Iterable<java.net.URL> getBeansXmlUrls()

loadClass

public <T> AnnotatedClass<? extends T> loadClass(java.lang.String className,
                                                 java.lang.Class<T> expectedType)

loadAnnotation

public <T extends java.lang.annotation.Annotation> java.lang.Class<? extends T> loadAnnotation(java.lang.String className,
                                                                                               java.lang.Class<T> expectedType)

getEnabledDeploymentTypes

public java.util.List<java.lang.Class<? extends java.lang.annotation.Annotation>> getEnabledDeploymentTypes()

getEjbDescriptors

public EjbDescriptorCache getEjbDescriptors()

loadFileByUrn

public java.net.URL loadFileByUrn(java.lang.String urn,
                                  java.lang.String fileName)

getServices

public ServiceRegistry getServices()

getResourceBeans

public java.util.Set<AbstractJavaEEResourceBean<?>> getResourceBeans()

getManager

public ManagerImpl getManager()


Copyright © 2011. All Rights Reserved.