IBM WebSphere Adapters User Manual page 150

Version 6 release 2
Table of Contents

Advertisement

setDescription(WBIMetadataDiscoveryImpl.getPropertyDescription
setId("TwineBall");
setDisplayName(WBIMetadataDiscoveryImpl.getPropertyName
}
createInboundConnectionConfiguration
The createInboundConnectionConfiguration() method returns an instance of
InboundConnectionConfiguration. Each enterprise metadata discovery
implementation extends WBIInboundConnectionConfugurationImpl and an instance
of that class is returned in this method.
public InboundConnectionConfiguration createInboundConnectionConfiguration() {
try {
if (conf == null)
conf = new TwineBallInboundConnectionConfiguration(this);
} catch (MetadataException e) {
throw new RuntimeException(e);
}
return conf;
}
WBIOutboundConnectionConfigurationImpl samples:
You use this class to specify outbound connection configuration properties,
including those for ResourceAdapter and ManangedConnectionFactory, for your
enterprise metadata discovery implementation.
Extending WBIOutboundConnectionConfigurationImpl requires that you implement
the methods described below. Note that all methods that create instances of
property groups should initialize them with the applied properties. You can do this
with a utility method provided in the EMDUtil class as shown below after
successfully constructing the property group.
if (getAppliedProperties() != null)
Constructor
The constructor accepts ConnectionType.
public TwineBallOutboundConnectionConfiguration
createUnifiedProperties
The createUnifiedProperties() method returns an instance of property group that
represents ManagedConnectionFactory and ResourceAdapter properties together in a
consolidated property group. Property groups required for discovery might differ
from those needed at run time. Accordingly, this method can check
isSupportedInMetadataService and then create the corresponding property groups.
WebSphere Integration Developer uses this method to display the first connection
configuration screen for enterprise metadata discovery.
public PropertyGroup createUnifiedProperties() {
WBIPropertyGroupImpl propGroup = null;
try {
propGroup =
144
WebSphere Adapters: WebSphere Adapter Toolkit User Guide
("ConnectionType"));
("ConnectionType"));
EMDUtil.copyValues(getAppliedProperties(), adapterProp);
(WBIOutboundConnectionTypeImpl connType)
throws MetadataException {
super(connType);
}

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Websphere adapter toolkit

Table of Contents