org.teiid.templates.connector
Class ConnectorTemplateInfo
java.lang.Object
org.jboss.managed.plugins.BasicDeploymentTemplateInfo
org.teiid.templates.connector.ConnectorTemplateInfo
- All Implemented Interfaces:
- java.io.Serializable, org.jboss.managed.api.DeploymentTemplateInfo, ExtendedPropertyInfo
public class ConnectorTemplateInfo
- extends org.jboss.managed.plugins.BasicDeploymentTemplateInfo
- implements ExtendedPropertyInfo
This class some magic in it. First off all through the configuration it extends the
NoTxConnectionFactoryTemplate. Then using the JMX adds the properties defined inside a connector
RAR file's ra.xml dynamically the above template. Also, it uses the NoTxConnectionFactoryTemplate "applyTemplate" to write
the custom properties that have been added thru JMX as "config-property" in the eventual "-ds.xml" file.
- See Also:
- Serialized Form
Constructor Summary |
ConnectorTemplateInfo(java.lang.String name,
java.lang.String description,
java.util.Map<java.lang.String,org.jboss.managed.api.ManagedProperty> properties)
|
Methods inherited from class org.jboss.managed.plugins.BasicDeploymentTemplateInfo |
addProperty, copy, getDescription, getName, getProperties, getRootManagedPropertyName, setProperties, setRootManagedPropertyName, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ConnectorTemplateInfo
public ConnectorTemplateInfo(java.lang.String name,
java.lang.String description,
java.util.Map<java.lang.String,org.jboss.managed.api.ManagedProperty> properties)
start
public void start()
copy
public ConnectorTemplateInfo copy()
- Specified by:
copy
in interface org.jboss.managed.api.DeploymentTemplateInfo
- Overrides:
copy
in class org.jboss.managed.plugins.BasicDeploymentTemplateInfo
getRarName
public java.lang.String getRarName()
setRarName
public void setRarName(java.lang.String rarName)
updateProperty
public void updateProperty(java.lang.String name,
java.lang.String value,
org.jboss.managed.api.ManagedComponent main)
- Specified by:
updateProperty
in interface ExtendedPropertyInfo
Copyright © 2010. All Rights Reserved.