IBM BPM, V8.0.1, All platforms > Authoring services in Integration Designer > Services and service-related functions > Access external services with adapters > Configure and using adapters > IBM WebSphere Adapters > Adapter Toolkit > Implementing code from the IBM WebSphere Adapter Toolkit > Enterprise metadata discovery general interfaces and implementation for application adapters > Enterprise metadata discovery implementation samples

WBIInboundConnectionTypeImpl samples

WBIInboundConnectionTypeImpl represents the inbound connection types supported by the adapter. The mapping of connection types corresponds to the activationSpec types that are supported by the adapter. Each activationSpec will map to an instance of inbound connection types.

Each enterprise metadata discovery implementation should extend WBIInboundConnectionTypeImpl and implement the methods described below.


Constructor

The constructor takes the adapterType argument, setting the ID and the description and display names. You can retrieve the description and display names from the resource bundle EMD.properties using method WBIMetadataDiscoveryImpl.getString(<prop name>) (if they must be globalized).

public EISSAInboundConnectionType(WBIAdapterTypeImpl adapterType,PropertyNameHelper helper)
throws MetadataException {
		super(adapterType);
		this.helper = helper;
	}


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 EISSAInboundConnectionConfiguration(this,helper);
		} catch (Exception e) {
			
			throw new RuntimeException(e.getMessage(), e);
		} 
		return conf;
	}

Enterprise metadata discovery implementation samples