org.openejb.alt.assembler.classic
Interface OpenEjbConfigurationFactory
- All Known Implementing Classes:
- ConfigurationFactory, DomOpenEjbConfigurationFactory
- public interface OpenEjbConfigurationFactory
Factory for creating an instance of the OpenEjbConfiguration
The OpenEjbConfiguration object structure provides the information 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.
The default OpenEjbConfigurationFactory is DomOpenEjbConfigurationFactory, which
creates an OpenEjbConfiguration object based on XML config files located on the
local system.
Other OpenEjbConfigurationFactory implementations can be created that might populate
this object using a different approach. Other usefull implementations might be:
- Populating the OpenEjbConfiguration from values in a RDBMS.
- Populating the OpenEjbConfiguration from values in a Properties file.
- Retrieving the OpenEjbConfiguration from a ODBMS.
- Creating the OpenEjbConfiguration using a JavaBeans enabled editing tool or wizard.
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.
- Author:
- David Blevins, Richard Monson-Haefel
- See Also:
Assembler
,
Assembler
,
OpenEjbConfiguration
,
OpenEjbConfigurationFactory
,
org.openejb.alt.xmlconf.DomOpenEjbConfigurationFactory
init
public void init(java.util.Properties props)
throws OpenEJBException
getOpenEjbConfiguration
public OpenEjbConfiguration getOpenEjbConfiguration()
throws OpenEJBException