public class ConnectionDefinitionImpl extends java.lang.Object implements ConnectionDefinition
ConnectionDefinition.Attribute, ConnectionDefinition.Tag| Constructor and Description |
|---|
ConnectionDefinitionImpl(XsdString managedconnectionfactoryClass,
java.util.List<? extends ConfigProperty> configProperty,
XsdString connectionfactoryInterface,
XsdString connectionfactoryImplClass,
XsdString connectionInterface,
XsdString connectionImplClass,
java.lang.String id) |
| Modifier and Type | Method and Description |
|---|---|
CopyableMetaData |
copy()
Creates and returns a copy of this object.
|
boolean |
equals(java.lang.Object obj) |
void |
forceNewConfigPropertiesContent(java.util.List<? extends ConfigProperty> newContents)
force configProperties with new content.
|
java.util.List<? extends ConfigProperty> |
getConfigProperties() |
XsdString |
getConnectionFactoryImplClass() |
XsdString |
getConnectionFactoryInterface() |
XsdString |
getConnectionImplClass() |
XsdString |
getConnectionInterface() |
java.lang.String |
getId()
Return the String representing xml ID
|
XsdString |
getManagedConnectionFactoryClass() |
int |
hashCode() |
ConnectionDefinition |
merge(MergeableMetadata<?> jmd)
Merge specification metadata with vendor metadata
|
java.lang.String |
toString() |
public ConnectionDefinitionImpl(XsdString managedconnectionfactoryClass, java.util.List<? extends ConfigProperty> configProperty, XsdString connectionfactoryInterface, XsdString connectionfactoryImplClass, XsdString connectionInterface, XsdString connectionImplClass, java.lang.String id)
managedconnectionfactoryClass - full qualified name of the classconfigProperty - List of configpropertiesconnectionfactoryInterface - full qualified name of the factory interfaceconnectionfactoryImplClass - full qualified name of the factory implementation classconnectionInterface - full qualified name of the connection interfaceconnectionImplClass - full qualified name of the connection implementation classid - XML IDpublic XsdString getManagedConnectionFactoryClass()
getManagedConnectionFactoryClass in interface ConnectionDefinitionpublic java.util.List<? extends ConfigProperty> getConfigProperties()
getConfigProperties in interface ConnectionDefinitionpublic void forceNewConfigPropertiesContent(java.util.List<? extends ConfigProperty> newContents)
newContents - the list of new propertiespublic XsdString getConnectionFactoryInterface()
getConnectionFactoryInterface in interface ConnectionDefinitionpublic XsdString getConnectionFactoryImplClass()
getConnectionFactoryImplClass in interface ConnectionDefinitionpublic XsdString getConnectionInterface()
getConnectionInterface in interface ConnectionDefinitionpublic XsdString getConnectionImplClass()
getConnectionImplClass in interface ConnectionDefinitionpublic java.lang.String getId()
ConnectionDefinitiongetId in interface ConnectionDefinitiongetId in interface IdDecoratedMetadataIdDecoratedMetadata.getId()public int hashCode()
hashCode in interface ConnectionDefinitionhashCode in class java.lang.ObjectObject.hashCode()public boolean equals(java.lang.Object obj)
equals in interface ConnectionDefinitionequals in class java.lang.ObjectObject.equals(java.lang.Object)public java.lang.String toString()
toString in interface ConnectionDefinitiontoString in class java.lang.ObjectObject.toString()public ConnectionDefinition merge(MergeableMetadata<?> jmd) throws java.lang.Exception
MergeableMetadatamerge in interface MergeableMetadata<ConnectionDefinition>jmd - The vendor metadatajava.lang.Exception - Thrown if an error occurspublic CopyableMetaData copy()
CopyableMetaDatacopy in interface CopyableMetaDataCopyright ? 2008 Red Hat Middleware LLC (http://www.jboss.com/)