Class ConnectionDefinitionImpl
java.lang.Object
org.jboss.jca.common.metadata.spec.ConnectionDefinitionImpl
- All Implemented Interfaces:
Serializable,Cloneable,CopyableMetaData,JCAMetadata,ConnectionDefinition,IdDecoratedMetadata,MergeableMetadata<ConnectionDefinition>
- Author:
- Stefano Maestri
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConnectionDefinitionImpl(XsdString managedconnectionfactoryClass, List<ConfigProperty> configProperty, XsdString connectionfactoryInterface, XsdString connectionfactoryImplClass, XsdString connectionInterface, XsdString connectionImplClass, String id) Constructor -
Method Summary
Modifier and TypeMethodDescriptioncopy()booleanvoidforceConfigProperties(List<ConfigProperty> newContents) Force configProperties with new content.getId()inthashCode()merge(MergeableMetadata<?> jmd) toString()
-
Constructor Details
-
ConnectionDefinitionImpl
public ConnectionDefinitionImpl(XsdString managedconnectionfactoryClass, List<ConfigProperty> configProperty, XsdString connectionfactoryInterface, XsdString connectionfactoryImplClass, XsdString connectionInterface, XsdString connectionImplClass, String id) Constructor- Parameters:
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 ID
-
-
Method Details
-
getManagedConnectionFactoryClass
- Specified by:
getManagedConnectionFactoryClassin interfaceConnectionDefinition
-
getConfigProperties
- Specified by:
getConfigPropertiesin interfaceConnectionDefinition
-
forceConfigProperties
Force configProperties with new content. This method is thread safe- Parameters:
newContents- the list of new properties
-
getConnectionFactoryInterface
- Specified by:
getConnectionFactoryInterfacein interfaceConnectionDefinition
-
getConnectionFactoryImplClass
- Specified by:
getConnectionFactoryImplClassin interfaceConnectionDefinition
-
getConnectionInterface
- Specified by:
getConnectionInterfacein interfaceConnectionDefinition
-
getConnectionImplClass
- Specified by:
getConnectionImplClassin interfaceConnectionDefinition
-
getId
- Specified by:
getIdin interfaceIdDecoratedMetadata
-
merge
- Specified by:
mergein interfaceMergeableMetadata<ConnectionDefinition>- Throws:
Exception
-
copy
- Specified by:
copyin interfaceCopyableMetaData
-
hashCode
public int hashCode() -
equals
-
toString
-