org.apache.webbeans.xml
Class WebBeansXMLConfigurator

java.lang.Object
  extended by org.apache.webbeans.xml.WebBeansXMLConfigurator

public final class WebBeansXMLConfigurator
extends Object

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 configure(InputStream xmlStream, String fileName, ScannerService scanner)
          Configures XML configuration file.
 void configureSpecSpecific(InputStream xmlStream, String fileName)
          Configures the web beans from the given input stream.
 void configureSpecSpecific(InputStream xmlStream, String fileName, ScannerService scanner)
          Configures the web beans from the given input stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebBeansXMLConfigurator

public WebBeansXMLConfigurator()
Creates a new instance of the WebBeansXMLConfigurator

Method Detail

configure

public void configure(InputStream xmlStream)
Configures XML configuration file.

Parameters:
xmlStream - xml configuration file

configure

public void configure(InputStream xmlStream,
                      String fileName)
Configures XML configuration file.

Parameters:
xmlStream - xml configuration file
fileName - file name

configure

public void configure(InputStream xmlStream,
                      String fileName,
                      ScannerService scanner)
Configures XML configuration file.

Parameters:
xmlStream - xml configuration file
fileName - file name
scanner - null or current ScannerService ref

configureSpecSpecific

public void configureSpecSpecific(InputStream xmlStream,
                                  String fileName)
Configures the web beans from the given input stream.

Parameters:
xmlStream - xml file containing the web beans definitions.
fileName - name of the configuration file

configureSpecSpecific

public void configureSpecSpecific(InputStream xmlStream,
                                  String fileName,
                                  ScannerService scanner)
Configures the web beans from the given input stream.

Parameters:
xmlStream - xml file containing the web beans definitions.
fileName - name of the configuration file
scanner - null or scanner ref


Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.