|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.j2ca.extension.emd.discovery.WBIAdapterTypeImpl
Provides implementation for AdapterType interface. Uses the ResourceAdapterMetadata implementation to fetch the information about version vendor etc. for an adapter implementation
AdapterType
Constructor Summary | |
---|---|
WBIAdapterTypeImpl(java.lang.String className,
int numberOfOutConnection,
int numberOfInConnection)
The constructor fills in the default description and name from the ResourceAdapter Metadata class. |
Method Summary | |
---|---|
void |
addInboundConnectionType(WBIInboundConnectionTypeImpl connType)
Add the inbound connection type to the list |
void |
addOutboundConnectionType(WBIOutboundConnectionTypeImpl connType)
Add the outbound connection type to the list |
java.lang.String |
getDescription()
|
java.lang.String |
getDisplayName()
|
java.lang.String |
getId()
|
commonj.connector.metadata.discovery.connection.InboundConnectionType[] |
getInboundConnectionTypes()
|
commonj.connector.metadata.discovery.connection.OutboundConnectionType[] |
getOutboundConnectionTypes()
|
java.lang.String |
getVendor()
|
java.lang.String |
getVersion()
|
boolean |
hasMetadataConnectionTypes()
This is true by default. |
void |
setDescription(java.lang.String description)
|
void |
setDisplayName(java.lang.String displayName)
Set the display name |
void |
setHasMetadataConnectionTypes(boolean hasMetadataConnection)
If there is a need to have adapter type which is not used for discovery then this should be set as false. |
void |
setId(java.lang.String id)
|
void |
setVendor(java.lang.String vendor)
|
void |
setVersion(java.lang.String version)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public WBIAdapterTypeImpl(java.lang.String className, int numberOfOutConnection, int numberOfInConnection) throws commonj.connector.metadata.MetadataException
numberOfOutConnection
- numberOfInConnection
-
commonj.connector.metadata.MetadataException
Method Detail |
public java.lang.String getId()
getId
in interface commonj.connector.metadata.discovery.AdapterTypeSummary
AdapterTypeSummary.getId()
public boolean hasMetadataConnectionTypes()
hasMetadataConnectionTypes
in interface commonj.connector.metadata.discovery.AdapterTypeSummary
AdapterTypeSummary.hasMetadataConnectionTypes()
public void setHasMetadataConnectionTypes(boolean hasMetadataConnection)
hasMetadataConnection
- public java.lang.String getDisplayName()
getDisplayName
in interface commonj.connector.metadata.discovery.AdapterTypeSummary
AdapterTypeSummary.getDisplayName()
public java.lang.String getDescription()
getDescription
in interface commonj.connector.metadata.discovery.AdapterTypeSummary
AdapterTypeSummary.getDescription()
public java.lang.String getVendor()
getVendor
in interface commonj.connector.metadata.discovery.AdapterTypeSummary
AdapterTypeSummary.getVendor()
public java.lang.String getVersion()
getVersion
in interface commonj.connector.metadata.discovery.AdapterTypeSummary
AdapterTypeSummary.getVersion()
public commonj.connector.metadata.discovery.connection.OutboundConnectionType[] getOutboundConnectionTypes()
getOutboundConnectionTypes
in interface commonj.connector.metadata.discovery.AdapterType
AdapterType.getOutboundConnectionTypes()
public commonj.connector.metadata.discovery.connection.InboundConnectionType[] getInboundConnectionTypes()
getInboundConnectionTypes
in interface commonj.connector.metadata.discovery.AdapterType
AdapterType.getInboundConnectionTypes()
public void setDescription(java.lang.String description)
description
- The description for adapter typepublic void setDisplayName(java.lang.String displayName)
displayName
- public void setVendor(java.lang.String vendor)
vendor
- The vendor name for the adapterpublic void setVersion(java.lang.String version)
version
- The version of the adapterpublic void addOutboundConnectionType(WBIOutboundConnectionTypeImpl connType)
connType
- public void addInboundConnectionType(WBIInboundConnectionTypeImpl connType)
connType
- public void setId(java.lang.String id)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |