com.caucho.jca.cfg
Class ObjectConfig

java.lang.Object
  extended by com.caucho.jca.cfg.ObjectConfig
Direct Known Subclasses:
AdminObjectConfig, ConnectionDefinition, MessageListenerConfig, ResourceAdapterConfig

public class ObjectConfig
extends java.lang.Object

Configuration for an object with config values.


Constructor Summary
ObjectConfig()
           
 
Method Summary
 void addConfigProperty(ConfigPropertyConfig property)
          Adds a new config property.
 java.lang.Class getType()
          Gets the config property type.
 java.lang.Object instantiate()
          Instantiates the object and sets the default properties.
 void setType(java.lang.Class type)
          Sets the type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectConfig

public ObjectConfig()
Method Detail

setType

public void setType(java.lang.Class type)
             throws ConfigException
Sets the type.

Throws:
ConfigException

getType

public java.lang.Class getType()
Gets the config property type.


addConfigProperty

public void addConfigProperty(ConfigPropertyConfig property)
                       throws ConfigException
Adds a new config property.

Throws:
ConfigException

instantiate

public java.lang.Object instantiate()
                             throws java.lang.Exception
Instantiates the object and sets the default properties.

Throws:
java.lang.Exception