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

java.lang.Object
  extended bycom.ibm.j2ca.extension.emd.discovery.connection.WBIInboundConnectionTypeImpl
All Implemented Interfaces:
commonj.connector.metadata.discovery.connection.ConnectionType, commonj.connector.metadata.discovery.connection.InboundConnectionType, commonj.connector.metadata.discovery.connection.InboundConnectionType.InboundConnectionBeans

public abstract class WBIInboundConnectionTypeImpl
extends java.lang.Object
implements commonj.connector.metadata.discovery.connection.InboundConnectionType, commonj.connector.metadata.discovery.connection.InboundConnectionType.InboundConnectionBeans

Implementation for InboundConnectionType interface.

See Also:
InboundConnectionType

Nested Class Summary
 
Nested classes inherited from class commonj.connector.metadata.discovery.connection.InboundConnectionType
commonj.connector.metadata.discovery.connection.InboundConnectionType.InboundConnectionBeans
 
Constructor Summary
WBIInboundConnectionTypeImpl(WBIAdapterTypeImpl adapterType)
           
 
Method Summary
 commonj.connector.metadata.discovery.connection.InboundConnectionType.InboundConnectionBeans createInboundConnectionBeans()
           
abstract  commonj.connector.metadata.discovery.connection.InboundConnectionConfiguration createInboundConnectionConfiguration()
           
 javax.resource.spi.ActivationSpec getActivationSpecJavaBean()
           
 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.ResourceAdapter getResourceAdapterJavaBean()
           
 boolean isConnectionConfigurationComplete(commonj.connector.metadata.discovery.connection.ConnectionConfiguration connectionConfiguration)
          This method checks if any properties are required and do not have value specified.
 boolean isSupportedAtRuntime()
           
 boolean isSupportedInMetaDataService()
           
 void setActivationSpecJavaBean(java.lang.String asName)
          Sets the activation spec bean instance.
 void setDescription(java.lang.String description)
          Sets the description
 void setDisplayName(java.lang.String displayName)
          Sets displayName
 void setId(java.lang.String id)
          Sets the ID
 void setResourceAdapterJavaBean(java.lang.String raName)
          Sets the resource Adapter java bean instance.
 void synchronizeFromActivationSpecToPropertyGroup(javax.resource.spi.ActivationSpec aspec, commonj.connector.metadata.discovery.properties.PropertyGroup pg)
           
 void synchronizeFromInboundBeansToUnifiedPropertyGroup(commonj.connector.metadata.discovery.connection.InboundConnectionType.InboundConnectionBeans inboundBeans, commonj.connector.metadata.discovery.properties.PropertyGroup pg)
           
 void synchronizeFromPropertyGroupToActivationSpec(commonj.connector.metadata.discovery.properties.PropertyGroup pg, javax.resource.spi.ActivationSpec aspec)
           
 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.InboundConnectionType.InboundConnectionBeans inboundBeans)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WBIInboundConnectionTypeImpl

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

getActivationSpecJavaBean

public javax.resource.spi.ActivationSpec getActivationSpecJavaBean()
Specified by:
getActivationSpecJavaBean in interface commonj.connector.metadata.discovery.connection.InboundConnectionType.InboundConnectionBeans
See Also:
commonj.connector.metadata.discovery.connection.ConnectionType.InboundConnectionBeans#getActivationSpecJavaBean()

getResourceAdapterJavaBean

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

setResourceAdapterJavaBean

public void setResourceAdapterJavaBean(java.lang.String raName)
                                throws commonj.connector.metadata.MetadataException
Sets the resource Adapter java bean instance.

Parameters:
raName -
Throws:
commonj.connector.metadata.MetadataException

setActivationSpecJavaBean

public void setActivationSpecJavaBean(java.lang.String asName)
                               throws commonj.connector.metadata.MetadataException
Sets the activation spec bean instance.

Parameters:
asName -
Throws:
commonj.connector.metadata.MetadataException

createInboundConnectionConfiguration

public abstract commonj.connector.metadata.discovery.connection.InboundConnectionConfiguration createInboundConnectionConfiguration()
Specified by:
createInboundConnectionConfiguration in interface commonj.connector.metadata.discovery.connection.InboundConnectionType
See Also:
InboundConnectionType.createInboundConnectionConfiguration()

getAdapterType

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

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()

getDisplayName

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

getDescription

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

isSupportedInMetaDataService

public boolean isSupportedInMetaDataService()
See Also:
commonj.connector.metadata.discovery.connection.ConnectionType#isSupportedInMetaDataService()

isSupportedAtRuntime

public boolean isSupportedAtRuntime()
See Also:
commonj.connector.metadata.discovery.connection.ConnectionType#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)
This method checks if any properties are required and do not have value specified.

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)

setId

public void setId(java.lang.String id)
Sets the ID

Parameters:
id -

setDisplayName

public void setDisplayName(java.lang.String displayName)
Sets displayName

Parameters:
displayName -

setDescription

public void setDescription(java.lang.String description)
Sets the description

Parameters:
description -

createInboundConnectionBeans

public commonj.connector.metadata.discovery.connection.InboundConnectionType.InboundConnectionBeans createInboundConnectionBeans()
Specified by:
createInboundConnectionBeans in interface commonj.connector.metadata.discovery.connection.InboundConnectionType
See Also:
InboundConnectionType.createInboundConnectionBeans()

synchronizeFromActivationSpecToPropertyGroup

public void synchronizeFromActivationSpecToPropertyGroup(javax.resource.spi.ActivationSpec aspec,
                                                         commonj.connector.metadata.discovery.properties.PropertyGroup pg)
                                                  throws commonj.connector.metadata.MetadataException
Specified by:
synchronizeFromActivationSpecToPropertyGroup in interface commonj.connector.metadata.discovery.connection.InboundConnectionType
Throws:
commonj.connector.metadata.MetadataException
See Also:
InboundConnectionType.synchronizeFromActivationSpecToPropertyGroup(javax.resource.spi.ActivationSpec, commonj.connector.metadata.discovery.properties.PropertyGroup)

synchronizeFromInboundBeansToUnifiedPropertyGroup

public void synchronizeFromInboundBeansToUnifiedPropertyGroup(commonj.connector.metadata.discovery.connection.InboundConnectionType.InboundConnectionBeans inboundBeans,
                                                              commonj.connector.metadata.discovery.properties.PropertyGroup pg)
                                                       throws commonj.connector.metadata.MetadataException
Specified by:
synchronizeFromInboundBeansToUnifiedPropertyGroup in interface commonj.connector.metadata.discovery.connection.InboundConnectionType
Throws:
commonj.connector.metadata.MetadataException
See Also:
InboundConnectionType.synchronizeFromInboundBeansToUnifiedPropertyGroup(commonj.connector.metadata.discovery.connection.InboundConnectionType.InboundConnectionBeans, commonj.connector.metadata.discovery.properties.PropertyGroup)

synchronizeFromPropertyGroupToActivationSpec

public void synchronizeFromPropertyGroupToActivationSpec(commonj.connector.metadata.discovery.properties.PropertyGroup pg,
                                                         javax.resource.spi.ActivationSpec aspec)
                                                  throws commonj.connector.metadata.MetadataException
Specified by:
synchronizeFromPropertyGroupToActivationSpec in interface commonj.connector.metadata.discovery.connection.InboundConnectionType
Throws:
commonj.connector.metadata.MetadataException
See Also:
InboundConnectionType.synchronizeFromPropertyGroupToActivationSpec(commonj.connector.metadata.discovery.properties.PropertyGroup, javax.resource.spi.ActivationSpec)

synchronizeFromUnifiedPropertyGroupToBeans

public void synchronizeFromUnifiedPropertyGroupToBeans(commonj.connector.metadata.discovery.properties.PropertyGroup pg,
                                                       commonj.connector.metadata.discovery.connection.InboundConnectionType.InboundConnectionBeans inboundBeans)
                                                throws commonj.connector.metadata.MetadataException
Specified by:
synchronizeFromUnifiedPropertyGroupToBeans in interface commonj.connector.metadata.discovery.connection.InboundConnectionType
Throws:
commonj.connector.metadata.MetadataException
See Also:
InboundConnectionType.synchronizeFromUnifiedPropertyGroupToBeans(commonj.connector.metadata.discovery.properties.PropertyGroup, commonj.connector.metadata.discovery.connection.InboundConnectionType.InboundConnectionBeans)

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
See Also:
ConnectionType.synchronizeFromPropertyGroupToResourceAdapter(commonj.connector.metadata.discovery.properties.PropertyGroup, javax.resource.spi.ResourceAdapter)

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
See Also:
ConnectionType.synchronizeFromResourceAdapterToPropertyGroup(javax.resource.spi.ResourceAdapter, commonj.connector.metadata.discovery.properties.PropertyGroup)