public interface ResourceAdapterMetadataInfo
ConnectionFactory
implementation must be able to return an
instance of ResourceAdapterMetaData
. In our implementation, this
is accomplished by asking the connection factory to create one of these objects
containing all of the information for a ResourceAdapterMetaData
.
Note that because ResourceAdapterMetaData
is required as part of
the J2EE Connector Architecture, every adapter *must* provide this information.
To use this interface, implement the method fillResourceAdapterMetadataInfo
in the WmManagedConnectionFactory
.
For example,
public void fillResourceAdapterMetadataInfo(ResourceAdapterMetadataInfo info, Locale locale) { info.addServiceTemplate(serviceTemplateClassName); }
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
VERSION |
Modifier and Type | Method and Description |
---|---|
void |
addServiceTemplate(java.lang.String serviceTemplateClassName)
Call this method for each service template supported by the
ConnectionFactory . |
void |
addServiceTemplate(java.lang.String serviceTemplateClassName,
boolean isHidden)
Call this method for each service template supported by the
ConnectionFactory . |
java.lang.String[] |
getVisibleServiceTemplates() |
void |
setAdapterName(java.lang.String adapterName) |
void |
setAdapterShortDescription(java.lang.String shortDescription) |
void |
setAdapterVendorName(java.lang.String vendorName) |
void |
setAdapterVersion(java.lang.String adapterVersion) |
static final java.lang.String VERSION
void addServiceTemplate(java.lang.String serviceTemplateClassName)
ConnectionFactory
.
In J2EE CA terms, this method adds a supported InteractionSpec
.serviceTemplateClassName
- the class name of service templatevoid addServiceTemplate(java.lang.String serviceTemplateClassName, boolean isHidden)
ConnectionFactory
.
In J2EE CA terms, this method adds a supported InteractionSpec
.serviceTemplateClassName
- the class name of service templateisVisible
- whether to expose this adapter service or notjava.lang.String[] getVisibleServiceTemplates()
void setAdapterName(java.lang.String adapterName)
void setAdapterShortDescription(java.lang.String shortDescription)
void setAdapterVendorName(java.lang.String vendorName)
void setAdapterVersion(java.lang.String adapterVersion)
Copyright © 2003 - 2021 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.