com.ibm.j2ca.extension.emd.discovery.connection
Class WBIOutboundConnectionTypeImpl

java.lang.Object
  extended bycom.ibm.j2ca.extension.emd.discovery.connection.WBIOutboundConnectionTypeImpl
All Implemented Interfaces:
commonj.connector.metadata.discovery.connection.ConnectionType, commonj.connector.metadata.discovery.connection.OutboundConnectionType, commonj.connector.metadata.discovery.connection.OutboundConnectionType.OutboundConnectionBeans

public abstract class WBIOutboundConnectionTypeImpl
extends java.lang.Object
implements commonj.connector.metadata.discovery.connection.OutboundConnectionType, commonj.connector.metadata.discovery.connection.OutboundConnectionType.OutboundConnectionBeans

Implementation for OutboundConnectionType interface.

See Also:
OutboundConnectionType

Nested Class Summary
 
Nested classes inherited from class commonj.connector.metadata.discovery.connection.OutboundConnectionType
commonj.connector.metadata.discovery.connection.OutboundConnectionType.OutboundConnectionBeans
 
Constructor Summary
WBIOutboundConnectionTypeImpl(WBIAdapterTypeImpl adapterType)
           
 
Method Summary
 commonj.connector.metadata.discovery.connection.OutboundConnectionType.OutboundConnectionBeans createOutboundConnectionBeans()
           
abstract  commonj.connector.metadata.discovery.connection.OutboundConnectionConfiguration createOutboundConnectionConfiguration()
           
 commonj.connector.metadata.discovery.AdapterType getAdapterType()
           
 commonj.connector.metadata.discovery.connection.ConnectionPersistence getConnectionPersistence()
           
 java.lang.String getDescription()
           
 java.lang.String getDisplayName()
           
 java.lang.String getId()
           
 javax.resource.spi.ManagedConnectionFactory getManagedConnectionFactoryJavaBean()
           
 javax.resource.spi.ResourceAdapter getResourceAdapterJavaBean()
           
 boolean isConnectionConfigurationComplete(commonj.connector.metadata.discovery.connection.ConnectionConfiguration connectionConfiguration)
           
 boolean isSupportedAtRuntime()
           
 boolean isSupportedInMetadataService()
           
 commonj.connector.metadata.discovery.connection.MetadataConnection openMetadataConnection(commonj.connector.metadata.discovery.connection.OutboundConnectionConfiguration connConfig)
           
 void setDescription(java.lang.String description)
           
 void setDisplayName(java.lang.String displayName)
           
 void setId(java.lang.String id)
           
 void setIsSupportedAtRuntime(boolean isSupportedAtRuntime)
          Sets if the connection can be used at runtime
 void setIsSupportedInMetadataService(boolean isSupportedInMetadataService)
           
 void setManagedConnectionFactoryJavaBean(java.lang.String mcfName)
           
 void setResourceAdapterJavaBean(java.lang.String raName)
           
 void synchronizeFromManagedConnectionFactoryToPropertyGroup(javax.resource.spi.ManagedConnectionFactory mcf, commonj.connector.metadata.discovery.properties.PropertyGroup pg)
           
 void synchronizeFromOutboundBeansToUnifiedPropertyGroup(commonj.connector.metadata.discovery.connection.OutboundConnectionType.OutboundConnectionBeans outboundBeans, commonj.connector.metadata.discovery.properties.PropertyGroup pg)
           
 void synchronizeFromPropertyGroupToManagedConnectionFactory(commonj.connector.metadata.discovery.properties.PropertyGroup pg, javax.resource.spi.ManagedConnectionFactory mcf)
           
 void synchronizeFromPropertyGroupToResourceAdapter(commonj.connector.metadata.discovery.properties.PropertyGroup pg, javax.resource.spi.ResourceAdapter ra)
           
 void synchronizeFromResourceAdapterToPropertyGroup(javax.resource.spi.ResourceAdapter ra, commonj.connector.metadata.discovery.properties.PropertyGroup pg)
           
 void synchronizeFromUnifiedPropertyGroupToBeans(commonj.connector.metadata.discovery.properties.PropertyGroup pg, commonj.connector.metadata.discovery.connection.OutboundConnectionType.OutboundConnectionBeans outboundBeans)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WBIOutboundConnectionTypeImpl

public WBIOutboundConnectionTypeImpl(WBIAdapterTypeImpl adapterType)
                              throws commonj.connector.metadata.MetadataException
Method Detail

getManagedConnectionFactoryJavaBean

public javax.resource.spi.ManagedConnectionFactory getManagedConnectionFactoryJavaBean()
Specified by:
getManagedConnectionFactoryJavaBean in interface commonj.connector.metadata.discovery.connection.OutboundConnectionType.OutboundConnectionBeans
See Also:
commonj.connector.metadata.discovery.connection.ConnectionType.OutboundConnectionBeans#getManagedConnectionFactoryJavaBean()

getAdapterType

public commonj.connector.metadata.discovery.AdapterType getAdapterType()
Specified by:
getAdapterType in interface commonj.connector.metadata.discovery.connection.ConnectionType
See Also:
ConnectionType.getAdapterType()

setManagedConnectionFactoryJavaBean

public void setManagedConnectionFactoryJavaBean(java.lang.String mcfName)
                                         throws commonj.connector.metadata.MetadataException
Throws:
commonj.connector.metadata.MetadataException

getResourceAdapterJavaBean

public javax.resource.spi.ResourceAdapter getResourceAdapterJavaBean()
Specified by:
getResourceAdapterJavaBean in interface commonj.connector.metadata.discovery.connection.OutboundConnectionType.OutboundConnectionBeans
See Also:
commonj.connector.metadata.discovery.connection.ConnectionType.OutboundConnectionBeans#getResourceAdapterJavaBean()

setResourceAdapterJavaBean

public void setResourceAdapterJavaBean(java.lang.String raName)
                                throws commonj.connector.metadata.MetadataException
Throws:
commonj.connector.metadata.MetadataException

isSupportedInMetadataService

public boolean isSupportedInMetadataService()
Specified by:
isSupportedInMetadataService in interface commonj.connector.metadata.discovery.connection.OutboundConnectionType
See Also:
commonj.connector.metadata.discovery.connection.ConnectionType.OutboundConnectionBeans#isForNonManaged()

setIsSupportedInMetadataService

public void setIsSupportedInMetadataService(boolean isSupportedInMetadataService)

createOutboundConnectionConfiguration

public abstract commonj.connector.metadata.discovery.connection.OutboundConnectionConfiguration createOutboundConnectionConfiguration()
Specified by:
createOutboundConnectionConfiguration in interface commonj.connector.metadata.discovery.connection.OutboundConnectionType
See Also:
OutboundConnectionType.createOutboundConnectionConfiguration()

openMetadataConnection

public commonj.connector.metadata.discovery.connection.MetadataConnection openMetadataConnection(commonj.connector.metadata.discovery.connection.OutboundConnectionConfiguration connConfig)
                                                                                          throws commonj.connector.metadata.MetadataException
Specified by:
openMetadataConnection in interface commonj.connector.metadata.discovery.connection.OutboundConnectionType
Throws:
commonj.connector.metadata.MetadataException
See Also:
OutboundConnectionType.openMetadataConnection(commonj.connector.metadata.discovery.connection.OutboundConnectionConfiguration)

getId

public java.lang.String getId()
Specified by:
getId in interface commonj.connector.metadata.discovery.connection.ConnectionType
See Also:
commonj.connector.metadata.discovery.connection.ConnectionType#getID()

setId

public void setId(java.lang.String id)

getDisplayName

public java.lang.String getDisplayName()
Specified by:
getDisplayName in interface commonj.connector.metadata.discovery.connection.ConnectionType
See Also:
ConnectionType.getDisplayName()

setDisplayName

public void setDisplayName(java.lang.String displayName)
Parameters:
displayName -

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface commonj.connector.metadata.discovery.connection.ConnectionType
See Also:
ConnectionType.getDescription()

setDescription

public void setDescription(java.lang.String description)

isSupportedAtRuntime

public boolean isSupportedAtRuntime()
Specified by:
isSupportedAtRuntime in interface commonj.connector.metadata.discovery.connection.OutboundConnectionType
See Also:
commonj.connector.metadata.discovery.connection.ConnectionType#isSupportedAtRuntime()

setIsSupportedAtRuntime

public void setIsSupportedAtRuntime(boolean isSupportedAtRuntime)
Sets if the connection can be used at runtime

Parameters:
isSupportedAtRuntime -

getConnectionPersistence

public commonj.connector.metadata.discovery.connection.ConnectionPersistence getConnectionPersistence()
Specified by:
getConnectionPersistence in interface commonj.connector.metadata.discovery.connection.ConnectionType
See Also:
ConnectionType.getConnectionPersistence()

isConnectionConfigurationComplete

public boolean isConnectionConfigurationComplete(commonj.connector.metadata.discovery.connection.ConnectionConfiguration connectionConfiguration)
Specified by:
isConnectionConfigurationComplete in interface commonj.connector.metadata.discovery.connection.ConnectionType
See Also:
commonj.connector.metadata.discovery.connection.ConnectionType#isConnectionConfigurationComplete(commonj.connector.metadata.discovery.connection.ConnectionAdvancedConfiguration)

createOutboundConnectionBeans

public commonj.connector.metadata.discovery.connection.OutboundConnectionType.OutboundConnectionBeans createOutboundConnectionBeans()
Specified by:
createOutboundConnectionBeans in interface commonj.connector.metadata.discovery.connection.OutboundConnectionType

synchronizeFromManagedConnectionFactoryToPropertyGroup

public void synchronizeFromManagedConnectionFactoryToPropertyGroup(javax.resource.spi.ManagedConnectionFactory mcf,
                                                                   commonj.connector.metadata.discovery.properties.PropertyGroup pg)
                                                            throws commonj.connector.metadata.MetadataException
Specified by:
synchronizeFromManagedConnectionFactoryToPropertyGroup in interface commonj.connector.metadata.discovery.connection.OutboundConnectionType
Throws:
commonj.connector.metadata.MetadataException

synchronizeFromOutboundBeansToUnifiedPropertyGroup

public void synchronizeFromOutboundBeansToUnifiedPropertyGroup(commonj.connector.metadata.discovery.connection.OutboundConnectionType.OutboundConnectionBeans outboundBeans,
                                                               commonj.connector.metadata.discovery.properties.PropertyGroup pg)
                                                        throws commonj.connector.metadata.MetadataException
Specified by:
synchronizeFromOutboundBeansToUnifiedPropertyGroup in interface commonj.connector.metadata.discovery.connection.OutboundConnectionType
Throws:
commonj.connector.metadata.MetadataException

synchronizeFromPropertyGroupToManagedConnectionFactory

public void synchronizeFromPropertyGroupToManagedConnectionFactory(commonj.connector.metadata.discovery.properties.PropertyGroup pg,
                                                                   javax.resource.spi.ManagedConnectionFactory mcf)
                                                            throws commonj.connector.metadata.MetadataException
Specified by:
synchronizeFromPropertyGroupToManagedConnectionFactory in interface commonj.connector.metadata.discovery.connection.OutboundConnectionType
Throws:
commonj.connector.metadata.MetadataException

synchronizeFromUnifiedPropertyGroupToBeans

public void synchronizeFromUnifiedPropertyGroupToBeans(commonj.connector.metadata.discovery.properties.PropertyGroup pg,
                                                       commonj.connector.metadata.discovery.connection.OutboundConnectionType.OutboundConnectionBeans outboundBeans)
                                                throws commonj.connector.metadata.MetadataException
Specified by:
synchronizeFromUnifiedPropertyGroupToBeans in interface commonj.connector.metadata.discovery.connection.OutboundConnectionType
Throws:
commonj.connector.metadata.MetadataException

synchronizeFromPropertyGroupToResourceAdapter

public void synchronizeFromPropertyGroupToResourceAdapter(commonj.connector.metadata.discovery.properties.PropertyGroup pg,
                                                          javax.resource.spi.ResourceAdapter ra)
                                                   throws commonj.connector.metadata.MetadataException
Specified by:
synchronizeFromPropertyGroupToResourceAdapter in interface commonj.connector.metadata.discovery.connection.ConnectionType
Throws:
commonj.connector.metadata.MetadataException

synchronizeFromResourceAdapterToPropertyGroup

public void synchronizeFromResourceAdapterToPropertyGroup(javax.resource.spi.ResourceAdapter ra,
                                                          commonj.connector.metadata.discovery.properties.PropertyGroup pg)
                                                   throws commonj.connector.metadata.MetadataException
Specified by:
synchronizeFromResourceAdapterToPropertyGroup in interface commonj.connector.metadata.discovery.connection.ConnectionType
Throws:
commonj.connector.metadata.MetadataException