Package | Description |
---|---|
javax.slee.resource |
This package defines the classes and interfaces for resource adaptor components.
|
Modifier and Type | Method and Description |
---|---|
ActivityHandle |
ResourceAdaptor.getActivityHandle(Object activity)
Get the activity handle corresponding to the specified activity object.
|
ActivityHandle |
Marshaler.unmarshalHandle(DataInput in)
Unmarshal a previously marshaled activity handle.
|
Modifier and Type | Method and Description |
---|---|
void |
ResourceAdaptor.activityEnded(ActivityHandle handle)
The SLEE invokes this method on a resource adaptor object when the SLEE has
completed activity end processing for the activity corresponding to the specified
activity handle.
|
void |
ResourceAdaptor.activityUnreferenced(ActivityHandle handle)
The SLEE invokes this method on a resource adaptor object when the Activity Context
in the SLEE corresponding to the given activity handle is no longer attached to any
SBB entities, is no longer referenced by any SLEE Facilities, and has no events being
processed or waiting to be processed on the activity.
|
void |
ResourceAdaptor.administrativeRemove(ActivityHandle handle)
The SLEE invokes this method to inform the resource adaptor that the activity
and activity context corresponding to the specified activity handle has been removed
from the SLEE due to an administrative action.
|
void |
SleeEndpoint.endActivity(ActivityHandle handle)
Notify the SLEE that an activity is ending.
|
void |
SleeEndpoint.endActivityTransacted(ActivityHandle handle)
Notify the SLEE that an activity is ending.
|
void |
ResourceAdaptor.eventProcessingFailed(ActivityHandle handle,
FireableEventType eventType,
Object event,
Address address,
ReceivableService service,
int flags,
FailureReason reason)
The SLEE invokes this method on a resource adaptor object to inform it that an
event it fired to the SLEE could not be processed successfully.
|
void |
ResourceAdaptor.eventProcessingSuccessful(ActivityHandle handle,
FireableEventType eventType,
Object event,
Address address,
ReceivableService service,
int flags)
The SLEE invokes this method on a resource adaptor object to inform it that an
event it fired to the SLEE has been processed successfully.
|
void |
ResourceAdaptor.eventUnreferenced(ActivityHandle handle,
FireableEventType eventType,
Object event,
Address address,
ReceivableService service,
int flags)
The SLEE invokes this method on a resource adaptor object when the event object
for an event fired by the resource adaptor is no longer referenced by the SLEE.
|
void |
SleeEndpoint.fireEvent(ActivityHandle handle,
FireableEventType eventType,
Object event,
Address address,
ReceivableService service)
Fire an event on an activity to the SLEE.
|
void |
SleeEndpoint.fireEvent(ActivityHandle handle,
FireableEventType eventType,
Object event,
Address address,
ReceivableService service,
int eventFlags)
Fire an event on an activity to the SLEE.
|
void |
SleeEndpoint.fireEventTransacted(ActivityHandle handle,
FireableEventType eventType,
Object event,
Address address,
ReceivableService service)
Fire an event on an activity to the SLEE.
|
void |
SleeEndpoint.fireEventTransacted(ActivityHandle handle,
FireableEventType eventType,
Object event,
Address address,
ReceivableService service,
int eventFlags)
Fire an event on an activity to the SLEE.
|
Object |
ResourceAdaptor.getActivity(ActivityHandle handle)
Get the activity object corresponding to the specified activity handle.
|
int |
Marshaler.getEstimatedHandleSize(ActivityHandle handle)
Get an estimate of the size (in bytes) of the marshaled form of an activity handle.
|
void |
Marshaler.marshalHandle(ActivityHandle handle,
DataOutput out)
Marshal an activity handle.
|
void |
ResourceAdaptor.queryLiveness(ActivityHandle handle)
The SLEE invokes this method to ask the resource adaptor to check an activity for
liveness.
|
void |
SleeEndpoint.startActivity(ActivityHandle handle,
Object activity)
Notify the SLEE that a new activity has started.
|
void |
SleeEndpoint.startActivity(ActivityHandle handle,
Object activity,
int activityFlags)
Notify the SLEE that a new activity has started.
|
void |
SleeEndpoint.startActivitySuspended(ActivityHandle handle,
Object activity)
Notify the SLEE that a new activity has started, and that it is suspended.
|
void |
SleeEndpoint.startActivitySuspended(ActivityHandle handle,
Object activity,
int activityFlags)
Notify the SLEE that a new activity has started, and that it is suspended.
|
void |
SleeEndpoint.startActivityTransacted(ActivityHandle handle,
Object activity)
Notify the SLEE that a new activity has started.
|
void |
SleeEndpoint.startActivityTransacted(ActivityHandle handle,
Object activity,
int activityFlags)
Notify the SLEE that a new activity has started.
|
void |
SleeEndpoint.suspendActivity(ActivityHandle handle)
Suspend an activity within the context of the calling transaction.
|