|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WLIResourceAdapter
Interface representing an instance of a resource adapter. This interface
add the following features to the base ResourceAdapter interface.
Method Summary | |
---|---|
void |
addAdapterStatusListener(AdapterStatusListener listener)
Add a new AdapterStatusListener. |
void |
addConnectionFactory(String name,
javax.resource.cci.ConnectionFactory factory)
Add a ConnectionFactory with the given name into this ResourceAdapter |
javax.resource.cci.ConnectionFactory |
getConnectionFactory(String name)
Get the ConnectionFactory instance with the given name, which is being managed for this ResourceAdapter instance. |
Status |
getConnectionFactoryStatus(String name)
Get the status of a ConnectionFactory with the given name being managed by this adapter instance. |
String |
getGUID()
Gets the globally unique identifier for this adapter instance, or null if none has been given. |
String[] |
getInboundMessagingInstanceIDs()
Get the array of logical inbound messaging instance identifiers for this adapter instance, or null if none have been set. |
Status |
getInboundMessagingStatus()
Get the status of the inbound section of this adapter instance. |
String |
getName()
Gets the name of this adapter instance, or null if none has been given. |
boolean |
isInboundMessagingEnabled()
Indicates if this adapter instance is configured to handle inbound messaging. |
Iterator |
listConnectionFactoryNames()
List the names of the ConnectionFactories being managed for this ResourceAdapter instance. |
void |
refreshInboundMessaging()
Set, after a call to start, whether this adapter instance should have its inbound messaging section active or not. |
void |
removeAdapterStatusListener(AdapterStatusListener listener)
Remove an existing AdapterStatusListener |
javax.resource.cci.ConnectionFactory |
removeConnectionFactory(String name)
Remove a ConnectionFactory with the given name from this ResourceAdapter. |
void |
resumeInboundMessaging()
Resume inbound messaging. |
void |
setGUID(String guid)
Sets the globally unique identifier for this adapter instance. |
void |
setInboundMessagingEnabled(boolean newValue)
Set whether this adapter instance is configured to handle inbound messaging or not. |
void |
setInboundMessagingInstanceIDs(String[] instanceIDs)
Set an array of logical inbound messaging instance identifiers for this adapter instance. |
void |
setName(String name)
Sets the logical name of this adapter instance. |
boolean |
supportsSuspendInboundMessaging()
Indicate whether this ResourceAdapter can suspend its inbound messaging section. |
void |
suspendInboundMessaging()
Suspend the inbound messaging section for this ResourceAdapter instance. |
void |
validate()
Called by the client that is configuring an instance of this WLIResourceAdapter class after all the JavaBeans properties have been set. |
Methods inherited from interface com.bea.connector.ResourceAdapter |
---|
endpointActivation, endpointDeactivation, getXAResources, start, stop |
Method Detail |
---|
void setName(String name)
String getName()
void setGUID(String guid)
String getGUID()
void setInboundMessagingInstanceIDs(String[] instanceIDs)
String[] getInboundMessagingInstanceIDs()
void validate() throws javax.resource.ResourceException
javax.resource.ResourceException
javax.resource.cci.ConnectionFactory getConnectionFactory(String name)
void addConnectionFactory(String name, javax.resource.cci.ConnectionFactory factory)
javax.resource.cci.ConnectionFactory removeConnectionFactory(String name)
Iterator listConnectionFactoryNames()
boolean isInboundMessagingEnabled()
void setInboundMessagingEnabled(boolean newValue)
void refreshInboundMessaging() throws javax.resource.ResourceException
javax.resource.ResourceException
boolean supportsSuspendInboundMessaging()
void suspendInboundMessaging() throws javax.resource.NotSupportedException, javax.resource.ResourceException
javax.resource.NotSupportedException
javax.resource.ResourceException
void resumeInboundMessaging() throws javax.resource.NotSupportedException, javax.resource.ResourceException
javax.resource.NotSupportedException
javax.resource.ResourceException
Status getInboundMessagingStatus()
Status getConnectionFactoryStatus(String name)
void addAdapterStatusListener(AdapterStatusListener listener)
void removeAdapterStatusListener(AdapterStatusListener listener)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |