Package | Description |
---|---|
javax.slee |
This package defines the APIs for SBB components, as well as common classes and interfaces for other SLEE subsystems.
|
javax.slee.facilities |
This package defines the interfaces and classes for the SLEE facilities available to SBBs and resource adaptors.
|
javax.slee.nullactivity |
This package defines the interfaces for the use of Null Activities.
|
javax.slee.profile |
This package defines the classes and interfaces for profiles and profile-related activities and events.
|
javax.slee.resource |
This package defines the classes and interfaces for resource adaptor components.
|
javax.slee.usage |
This package defines the interfaces and classes required to support usage collection in the SLEE.
|
Modifier and Type | Class and Description |
---|---|
class |
FactoryException
This exception is thrown by activity context and activity context interface factories
when the factory cannot perform its function due to a system-level failure.
|
class |
NoSuchObjectLocalException
This exception is thrown if an attempt is made to invoke a method on an SBB entity
that no longer exists.
|
class |
NotAttachedException
This exception is thrown by methods in
SbbContext if an SBB entity
attempts to obtain or modify the event mask for an activity it is not attached to. |
class |
TransactionRequiredLocalException
This exception is thrown by the SLEE when an mandatory transactional method
is invoked without a valid transaction context.
|
class |
TransactionRolledbackLocalException
This exception is thrown by the SLEE when a method invoked on an SbbLocalObject
throws an unchecked exception, or when a method invoked on a required-transactional
facility is invoked without a transaction context and the newly created transaction
fails to commit.
|
class |
UnrecognizedActivityException
This exception is thrown if the activity object supplied to an activity
context interface factory method is not an activity generated by a resource
adaptor installed in the SLEE.
|
Modifier and Type | Method and Description |
---|---|
void |
ActivityContextInterface.attach(SbbLocalObject sbb)
Attach an SBB entity to the Activity Context.
|
SbbLocalObject |
ChildRelation.create()
Create a new SBB entity of the SBB type associated with the relation.
|
void |
ActivityContextInterface.detach(SbbLocalObject sbb)
Detach an SBB entity from the Activity Context.
|
ActivityContextInterface[] |
SbbContext.getActivities()
Get the set of Activity Contexts that the SBB entity currently associated with
the instance is currently attached to.
|
Object |
ActivityContextInterface.getActivity()
Get the Activity object for the activity encapsulated by this Activity Context.
|
String[] |
SbbContext.getEventMask(ActivityContextInterface aci)
Get the event mask currently set for an Activity Context for the SBB entity
currently associated with the instance.
|
boolean |
SbbContext.getRollbackOnly()
Test if the current transaction has been marked for rollback only.
|
SbbID |
SbbContext.getSbb()
Get the SBB component identifier that identifies the SBB component of the SBB object.
|
SbbLocalObject |
SbbContext.getSbbLocalObject()
Get a local object reference to the SBB entity currently associated with the instance.
|
byte |
SbbLocalObject.getSbbPriority()
Get the invocation priority for the SBB entity referenced by this
SbbLocalObject . |
ServiceID |
SbbContext.getService()
Get the Service component identifier that identifies the Service component
that the SBB object is executing on behalf of.
|
Tracer |
SbbContext.getTracer(String tracerName)
Get a tracer for the specified tracer name.
|
boolean |
ActivityContextInterface.isAttached(SbbLocalObject sbb)
Determine if a specified SBB entity is attached to this Activity Context.
|
boolean |
ActivityContextInterface.isEnding()
Determine if the activity context is in the ending state.
|
boolean |
SbbLocalObject.isIdentical(SbbLocalObject obj)
Compare this
SbbLocalObject for identity equality with another. |
boolean |
EventContext.isSuspended()
Determine if event delivery of the event associated with this event context is currently
suspended.
|
void |
SbbContext.maskEvent(String[] eventNames,
ActivityContextInterface aci)
Mask events fired on an Activity Context from delivery to the SBB entity
currently associated with the instance.
|
void |
SbbLocalObject.remove()
Remove the SBB entity referenced by this
SbbLocalObject . |
void |
EventContext.resumeDelivery()
Resume previously suspended event delivery of the event associated with this event
context.
|
void |
SbbContext.setRollbackOnly()
Mark the current transaction for rollback.
|
void |
SbbLocalObject.setSbbPriority(byte priority)
Set the invocation priority for the SBB entity referenced by this
SbbLocalObject . |
void |
EventContext.suspendDelivery()
Suspend further delivery of the event associated with this event context.
|
void |
EventContext.suspendDelivery(int timeout)
Suspend further delivery of the event associated with this event context.
|
Modifier and Type | Class and Description |
---|---|
class |
FacilityException
This exception is thrown by facilities when a system-level failure is encountered
while handling an SBB request.
|
Modifier and Type | Method and Description |
---|---|
void |
NullActivity.endActivity()
End the null activity.
|
Modifier and Type | Method and Description |
---|---|
ProfileLocalObject |
ProfileTable.create(String profileName)
Create a new profile with the specified name in the profile table represented by this
ProfileTable object. |
ProfileLocalObject |
ProfileTable.find(String profileName)
Find an existing profile with the specified profile name within the profile table
represented by this
ProfileTable object. |
Collection |
ProfileTable.findAll()
Find all profiles within the profile table represented by this
ProfileTable
object. |
ProfileLocalObject |
ProfileTable.findProfileByAttribute(String attributeName,
Object attributeValue)
Find a profile contained in the profile table represented by this
ProfileTable
object where the specified profile attribute is set to the specified value. |
Collection |
ProfileTable.findProfilesByAttribute(String attributeName,
Object attributeValue)
Find all profiles within the profile table represented by this
ProfileTable
object where the specified profile attribute is set to the specified value. |
ProfileLocalObject |
ProfileContext.getProfileLocalObject()
Get a
ProfileLocalObject which represents the profile that the Profile
object owning this ProfileContext is currently assigned to. |
String |
ProfileContext.getProfileName()
Get the name of the profile that the Profile object owning this
ProfileContext
is currently assigned to. |
String |
ProfileLocalObject.getProfileName()
Get the name of the profile referenced by this
ProfileLocalObject . |
ProfileTable |
ProfileContext.getProfileTable()
Get an object that implements the Profile Table Interface of the profile table that
this
ProfileContext is associated with. |
ProfileTable |
ProfileLocalObject.getProfileTable()
Get an object that implements the Profile Table Interface of the profile table in
which the profile that this
ProfileLocalObject references exists. |
ProfileTable |
ProfileContext.getProfileTable(String profileTableName)
Get a
ProfileTable object for a profile table. |
String |
ProfileContext.getProfileTableName()
Get the name of the profile table in which the profile that this Profile object is
assigned to exists.
|
String |
ProfileLocalObject.getProfileTableName()
Get the name of the profile table in which the profile referenced by this
ProfileLocalObject exists. |
boolean |
ProfileContext.getRollbackOnly()
Test if the current transaction has been marked for rollback only.
|
Tracer |
ProfileContext.getTracer(String tracerName)
Get a tracer for the specified tracer name.
|
boolean |
ProfileLocalObject.isIdentical(ProfileLocalObject obj)
Compare this
ProfileLocalObject for identity equality with another. |
boolean |
ProfileManagement.isProfileValid(ProfileID id)
Deprecated.
The same functionality can be obtained in the SLEE 1.1 profile model
as follows:
ProfileContext context = ... find method is null, the profile does not exist
in the specified profile table. |
void |
ProfileLocalObject.remove()
Remove the profile referenced by this
ProfileLocalObject . |
boolean |
ProfileTable.remove(String profileName)
Remove an existing profile with the specified profile name from the profile table
represented by this
ProfileTable object. |
void |
ProfileContext.setRollbackOnly()
Mark the current transaction for rollback.
|
Modifier and Type | Class and Description |
---|---|
class |
ActivityAlreadyExistsException
This exception is thrown by a
SleeEndpoint if an attempt is made to
start an activity that is already known by the SLEE. |
class |
ActivityIsEndingException
This exception is thrown by the
SleeEndpoint if an attempt is made to
fire an event on an activity that is in the ending state. |
class |
IllegalEventException
This exception is thrown by the fire-event methods in
SleeEndpoint if the
Resource Adaptor attempts to fire an event with an illegal event identifier. |
class |
UnrecognizedActivityHandleException
This exception is thrown by the
SleeEndpoint if an attempt is made to
interact with an activity that is not known by the SLEE. |
Modifier and Type | Method and Description |
---|---|
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 |
ResourceAdaptorContext.getDefaultUsageParameterSet()
Get the unnamed usage parameter set for the resource adaptor entity.
|
ProfileTable |
ResourceAdaptorContext.getProfileTable(String profileTableName)
Get a
ProfileTable object for a profile table. |
Tracer |
ResourceAdaptorContext.getTracer(String tracerName)
Get a tracer for the specified tracer name.
|
Object |
ResourceAdaptorContext.getUsageParameterSet(String paramSetName)
Get a named usage parameter set for the resource adaptor entity.
|
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.
|
Modifier and Type | Class and Description |
---|---|
class |
NoUsageParametersInterfaceDefinedException
This exception is thrown if a resource adaptor entity attempts to obtain a usage
parameter set from its
ResourceAdaptorContext if the Resource
Adaptor did not define a Usage Parameters Interface. |