|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.webbeans.xml.WebBeansXMLConfigurator
public final class WebBeansXMLConfigurator
Configures the web beans from the xml declerations.
| Constructor Summary | |
|---|---|
WebBeansXMLConfigurator()
Creates a new instance of the WebBeansXMLConfigurator |
|
| Method Summary | ||
|---|---|---|
void |
configure(InputStream xmlStream)
Configures XML configuration file. |
|
void |
configure(InputStream xmlStream,
String fileName)
Configures XML configuration file. |
|
void |
configureOwbSpecific(InputStream xmlStream,
String fileName)
Configures the web beans from the given input stream. |
|
|
configureProducerTypeLevelMetaData(AbstractOwbBean<T> component,
List<Class<? extends Annotation>> annotationSet,
List<Element> annotationElementList,
Element webBeanDecleration)
Configures the type level meta data of the webbeans component. |
|
|
configureSimpleWebBean(Class<T> simpleClass,
Element webBeanDecleration)
Configures the simple webbean from the class. |
|
void |
configureSpecSpecific(InputStream xmlStream,
String fileName)
Configures the web beans from the given input stream. |
|
|
configureTypeLevelMetaData(XMLManagedBean<T> component,
List<Class<? extends Annotation>> annotationSet,
List<Element> annotationElementList,
Element webBeanDecleration)
Configures the type level meta data of the webbeans component. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WebBeansXMLConfigurator()
WebBeansXMLConfigurator
| Method Detail |
|---|
public void configure(InputStream xmlStream)
xmlStream - xml configuration file
public void configure(InputStream xmlStream,
String fileName)
xmlStream - xml configuration filefileName - file name
public void configureOwbSpecific(InputStream xmlStream,
String fileName)
xmlStream - xml file containing the web beans definitions.fileName - name of the configuration file
public void configureSpecSpecific(InputStream xmlStream,
String fileName)
xmlStream - xml file containing the web beans definitions.fileName - name of the configuration file
public <T> XMLManagedBean<T> configureSimpleWebBean(Class<T> simpleClass,
Element webBeanDecleration)
simpleClass - concrete java class defined in XMLwebBeanDecleration - webbeans decleration root element
public <T> void configureTypeLevelMetaData(XMLManagedBean<T> component,
List<Class<? extends Annotation>> annotationSet,
List<Element> annotationElementList,
Element webBeanDecleration)
component - xml webbeans componentannotationSet - type level annotation setwebBeanDecleration - webbeans decleration element
public <T> void configureProducerTypeLevelMetaData(AbstractOwbBean<T> component,
List<Class<? extends Annotation>> annotationSet,
List<Element> annotationElementList,
Element webBeanDecleration)
component - xml webbeans componentannotationSet - type level annotation setwebBeanDecleration - webbeans decleration element
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||