CONFIDENTIAL

com.spectel.bcapi
Interface BridgeProvider


public interface BridgeProvider

Interface that all implementation jars must provide implementations of. In addition, any implementation jar must include a resource called

META-INF/services/com.spectel.bcapi.BridgeProvider
that contains the fully qualified name of all BridgeProvider implementations contained within the JAR.

Since:
1.7
Author:
Stephen Connolly
See Also:
Java SE Service Provider mechanism (SPM), BridgeFactory

Method Summary
 Bridge createBridge(java.util.Hashtable parameters)
          Create the specified bridge instance.
 boolean isProviderFor(java.lang.String implType)
          Query if the provider supports the specified IMPL_TYPE.
 

Method Detail

isProviderFor

boolean isProviderFor(java.lang.String implType)
Query if the provider supports the specified IMPL_TYPE.

Parameters:
implType - The IMPL_TYPE.
Returns:
true if this provider supports the specified IMPL_TYPE.

createBridge

Bridge createBridge(java.util.Hashtable parameters)
                    throws BridgeException
Create the specified bridge instance.
Note: The provider may pool the instances when all parameters are identical. When parameters differ, a new instance must be returned.

Parameters:
parameters - Details for the specific Bridge implementation.
Returns:
The new bridge instance.
Throws:
BridgeException - if anything went wrong.

CONFIDENTIAL

Copyright © 2005-2009 Avaya. All Rights Reserved.