|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
public void setName(String name)
public String getName()
public void setGUID(String guid)
public String getGUID()
public void setInboundMessagingInstanceIDs(String[] instanceIDs)
public String[] getInboundMessagingInstanceIDs()
public void validate() throws javax.resource.ResourceException
javax.resource.ResourceException
public javax.resource.cci.ConnectionFactory getConnectionFactory(String name)
public void addConnectionFactory(String name, javax.resource.cci.ConnectionFactory factory)
public javax.resource.cci.ConnectionFactory removeConnectionFactory(String name)
public Iterator listConnectionFactoryNames()
public boolean isInboundMessagingEnabled()
public void setInboundMessagingEnabled(boolean newValue)
public void refreshInboundMessaging() throws javax.resource.ResourceException
javax.resource.ResourceException
public boolean supportsSuspendInboundMessaging()
public void suspendInboundMessaging() throws javax.resource.NotSupportedException, javax.resource.ResourceException
javax.resource.NotSupportedException
javax.resource.ResourceException
public void resumeInboundMessaging() throws javax.resource.NotSupportedException, javax.resource.ResourceException
javax.resource.NotSupportedException
javax.resource.ResourceException
public Status getInboundMessagingStatus()
public Status getConnectionFactoryStatus(String name)
public void addAdapterStatusListener(AdapterStatusListener listener)
public void removeAdapterStatusListener(AdapterStatusListener listener)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |