|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openejb.alt.assembler.classic.xml.DomOpenEjbConfigurationFactory
public class DomOpenEjbConfigurationFactory
Factory for creating an instance of the OpenEjbConfiguration using DOM and and XML configuration file
DomOpenEjbConfigurationFactory is the default OpenEjbConfigurationFactory, which creates an OpenEjbConfiguration object based on XML config files located on the local system.
The OpenEjbConfiguration object structure provides the inforamtion about the configuration of OpenEJB and the container system and is used by the org.openejb.alt.assembler.classic.Assembler to build a running unstance of OpenEJB.
Other OpenEjbConfigurationFactory implementations can be created that might populate
this object using a different approach. Other usefull implementations might be:
If you are interested in creating alternate an OpenEjbConfigurationFactory to do any of the above techniques or a new approach, email the OpenEJB Developer list with a description of the new OpenEjbConfigurationFactory implementation.
Assembler
,
Assembler
,
OpenEjbConfiguration
,
OpenEjbConfigurationFactory
Constructor Summary | |
---|---|
DomOpenEjbConfigurationFactory()
|
Method Summary | |
---|---|
OpenEjbConfiguration |
getOpenEjbConfiguration()
|
void |
init(java.util.Properties props)
Initializes the OpenEjbConfiguration with the
XML config file specified by the value of EnvProps.CONFIGURATION in
the environment variables used to construct this container system. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DomOpenEjbConfigurationFactory()
Method Detail |
---|
public void init(java.util.Properties props) throws OpenEJBException
OpenEjbConfiguration
with the
XML config file specified by the value of EnvProps.CONFIGURATION
in
the environment variables used to construct this container system.
init
in interface OpenEjbConfigurationFactory
props
- A Properties object containing the EnvProps#CONFIGURATION entry
OpenEJBException
OpenEJBException
- if there was a problem parsing the XML file, the XML file is invalid or the XML file could not be found.OpenEjbConfiguration
,
EnvProps.CONFIGURATION
public OpenEjbConfiguration getOpenEjbConfiguration() throws OpenEJBException
getOpenEjbConfiguration
in interface OpenEjbConfigurationFactory
OpenEJBException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |