This class is similar to WBIOutboundConnectionConfigurationImpl except instead
of
ManagedConnectionFactory
,
WBIInboundConnectionConfigurationImpl
handles
the
ActivationSpecWithXid
bean class. You must extend the methods described
below.
public PropertyGroup createActivationSpecProperties() {
WBIPropertyGroupImpl connProp = null;
try {
connProp = (WBIPropertyGroupImpl) EMDUtil.getPropertyGroup
(new TwineBallActivationSpec());
WBIPropertyGroupImpl credentialPropertyGroup = new WBIPropertyGroupImpl
("UserCredentials");
credentialPropertyGroup.setDisplayName
(WBIMetadataDiscoveryImpl.getPropertyName("UserCredentials"));
credentialPropertyGroup.setDescription
(WBIMetadataDiscoveryImpl.getPropertyDescription("UserCredentials"));
WBISingleValuedPropertyImpl property = new WBISingleValuedPropertyImpl
("UserName", String.class);
property.setRequired(true);
property.setDisplayName
(WBIMetadataDiscoveryImpl.getPropertyName("UserName"));
property.setDescription
(WBIMetadataDiscoveryImpl.getPropertyDescription("UserName"));
credentialPropertyGroup.addProperty(property);
property = new WBISingleValuedPropertyImpl("Password", String.class);
property.setRequired(true);
property.setSensitive(true); //show it as **** on display
property.setDisplayName
(WBIMetadataDiscoveryImpl.getPropertyName("Password"));
property.setDescription
(WBIMetadataDiscoveryImpl.getPropertyDescription("Password"));
credentialPropertyGroup.addProperty(property);
connProp.addProperty(credentialPropertyGroup);
property = new WBISingleValuedPropertyImpl("URL", String.class);
property.setRequired(false);
property.setDisplayName
(WBIMetadataDiscoveryImpl.getPropertyName("URL"));
property.setDescription
(WBIMetadataDiscoveryImpl.getPropertyDescription("URL"));
connProp.addProperty(property);
property = new WBISingleValuedPropertyImpl("eventTableName", String.class);
property.setRequired(true);
property.setDisplayName
(WBIMetadataDiscoveryImpl.getPropertyName("eventTableName"));
property.setDescription
(WBIMetadataDiscoveryImpl.getPropertyDescription("eventTableName"));
property.setValue("WBIA_EVENTS");
connProp.addProperty(property);
connProp.addProperty(createResourceAdapterProperties());
} catch (MetadataException e) {
throw new RuntimeException(e);
}
return connProp;
}
WBIMetadataTreeImpl samples:
WBIMetadataTreeImpl
represents the object that holds the
metadataObject
nodes of
the tree that WebSphere Integration Developer displays for enterprise metadata
discovery.
Extend the
WBIMetadataTreeImpl
class and implement the methods described
below.
146
WebSphere Adapters: WebSphere Adapter Toolkit User Guide
Содержание WebSphere Adapters
Страница 1: ...WebSphere Adapters WebSphere Adapter Toolkit User Guide Version 6 Release 2 Version 6 Release 2...
Страница 2: ......
Страница 3: ...WebSphere Adapters WebSphere Adapter Toolkit User Guide Version 6 Release 2 Version 6 Release 2...
Страница 6: ...iv WebSphere Adapters WebSphere Adapter Toolkit User Guide...
Страница 211: ...7 Start UTC using the Run universal test client option WebSphere Adapter development overview 205...
Страница 220: ...214 WebSphere Adapters WebSphere Adapter Toolkit User Guide...
Страница 224: ...218 WebSphere Adapters WebSphere Adapter Toolkit User Guide...
Страница 225: ......
Страница 226: ...Printed in USA...