org.openejb.assembler
Interface OpenEjbConfigurationFactory

All Known Implementing Classes:
ConfigurationFactory

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.assembler.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:

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.

See Also:
Assembler, Assembler, OpenEjbConfiguration, OpenEjbConfigurationFactory, org.openejb.alt.xmlconf.DomOpenEjbConfigurationFactory

Method Summary
 OpenEjbConfiguration getOpenEjbConfiguration()
           
 void init(Properties props)
           
 

Method Detail

init

public void init(Properties props)
          throws OpenEJBException
Throws:
OpenEJBException

getOpenEjbConfiguration

public OpenEjbConfiguration getOpenEjbConfiguration()
                                             throws OpenEJBException
Throws:
OpenEJBException


Copyright © 1999-2005 OpenEJB. All Rights Reserved.