| Package | Description |
|---|---|
| com.sun.appserv.connectors.internal.api | |
| com.sun.ejb.containers | |
| com.sun.enterprise.resource | |
| com.sun.enterprise.resource.pool | |
| org.glassfish.ejb.api | |
| org.glassfish.ejb.mdb |
| Modifier and Type | Method and Description |
|---|---|
void |
TransactedPoolManager.registerResource(ResourceHandle handle)
registers the provided resource with the component & enlists the resource in the transaction
|
void |
TransactedPoolManager.resourceEnlisted(Transaction tran,
ResourceHandle res)
Indicate that a resource is enlisted.
|
void |
TransactedPoolManager.unregisterResource(ResourceHandle resource,
int xaresFlag)
unregisters the resource from the component and delists the resource from the transaction
|
| Modifier and Type | Method and Description |
|---|---|
void |
EJBContextImpl.registerResource(ResourceHandle h)
Register a resource opened by the EJB instance
associated with this Context.
|
void |
EJBContextImpl.unregisterResource(ResourceHandle h)
Unregister a resource from this Context.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AssocWithThreadResourceHandle
ResourceHandle with state related to assoc-with-thread pool
|
class |
ResourceHandle
ResourceHandle encapsulates a resource connection.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PoolManagerImpl.registerResource(ResourceHandle handle) |
void |
PoolManagerImpl.resourceEnlisted(Transaction tran,
ResourceHandle h) |
void |
PoolManagerImpl.unregisterResource(ResourceHandle resource,
int xaresFlag) |
| Modifier and Type | Method and Description |
|---|---|
ResourceHandle |
MessageBeanListener.getResourceHandle() |
| Modifier and Type | Method and Description |
|---|---|
MessageBeanListener |
MessageBeanProtocolManager.createMessageBeanListener(ResourceHandle resourceHandle)
Create a MessageBeanListener.
|
void |
MessageBeanListener.setResourceHandle(ResourceHandle handle) |
| Modifier and Type | Method and Description |
|---|---|
ResourceHandle |
MessageBeanListenerImpl.getResourceHandle() |
| Modifier and Type | Method and Description |
|---|---|
void |
MessageBeanContainer.afterMessageDelivery(ResourceHandle resourceHandle) |
void |
MessageBeanContainer.beforeMessageDelivery(Method method,
MessageBeanContainer.MessageDeliveryType deliveryType,
boolean txImported,
ResourceHandle resourceHandle)
Actual message delivery happens in three steps :
1) beforeMessageDelivery(Message, MessageListener) This is our chance to
make the message delivery itself part of the instance's global
transaction.
|
MessageBeanListener |
MessageBeanContainer.createMessageBeanListener(ResourceHandle resource)
Create a MessageBeanListener.
|
void |
MessageBeanListenerImpl.setResourceHandle(ResourceHandle handle) |
Copyright © 2017. All rights reserved.