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:

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

Method Summary
 OpenEjbConfiguration getOpenEjbConfiguration()
           
 void init(java.util.Properties props)
           
 

Method Detail

init

void init(java.util.Properties props)
          throws OpenEJBException
Throws:
OpenEJBException

getOpenEjbConfiguration

OpenEjbConfiguration getOpenEjbConfiguration()
                                             throws OpenEJBException
Throws:
OpenEJBException


Copyright © 1999-2011 OpenEJB. All Rights Reserved.