org.openejb.alt.assembler.classic
Class ServiceInfo

java.lang.Object
  extended by org.openejb.alt.assembler.classic.InfoObject
      extended by org.openejb.alt.assembler.classic.ServiceInfo
All Implemented Interfaces:
java.io.Serializable, ServiceTypeConstants
Direct Known Subclasses:
SecurityServiceInfo, Service, TransactionServiceInfo

public class ServiceInfo
extends InfoObject
implements ServiceTypeConstants

ServiceInfo is part of the OpenEjbConfiguration object structure that provides the information about the configuration of OpenEJB and the container system.

The OpenEjbConfiguration itself is created by a OpenEjbConfigurationFactory 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, Serialized Form

Field Summary
 java.lang.String codebase
           
 java.lang.String description
           
 java.lang.String displayName
           
 java.lang.Class factoryClass
           
 java.lang.String factoryClassName
           
 java.util.Properties properties
           
 java.lang.String serviceName
           
 int serviceType
           
 
Fields inherited from interface org.openejb.alt.assembler.classic.ServiceTypeConstants
PERSISTENCE_SERVICE, SECURITY_SERVICE, TRANSACTION_SERVICE
 
Constructor Summary
ServiceInfo()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serviceType

public int serviceType

description

public java.lang.String description

serviceName

public java.lang.String serviceName

displayName

public java.lang.String displayName

factoryClassName

public java.lang.String factoryClassName

codebase

public java.lang.String codebase

factoryClass

public java.lang.Class factoryClass

properties

public java.util.Properties properties
Constructor Detail

ServiceInfo

public ServiceInfo()


Copyright © 1999-2011 OpenEJB. All Rights Reserved.