Package | Description |
---|---|
javax.slee.facilities |
This package defines the interfaces and classes for the SLEE facilities available to SBBs and resource adaptors.
|
javax.slee.profile |
This package defines the classes and interfaces for profiles and profile-related activities and events.
|
Modifier and Type | Method and Description |
---|---|
void |
ActivityContextNamingFacility.bind(ActivityContextInterface aci,
String name)
Bind an Activity Context to a name.
|
void |
TimerFacility.cancelTimer(TimerID timerID)
Cancel a previously set timer.
|
boolean |
AlarmFacility.clearAlarm(String alarmID)
Request that the alarm with the specified alarm identifier be cleared.
|
int |
AlarmFacility.clearAlarms()
Request that all alarms belonging to the notification source associated with
the
AlarmFacility object be cleared. |
int |
AlarmFacility.clearAlarms(String alarmType)
Request that all alarms of the specified type be cleared.
|
void |
Tracer.config(String message)
Emit a trace message at the
TraceLevel.CONFIG trace level. |
void |
Tracer.config(String message,
Throwable cause)
Emit a trace message with a cause throwable at the
TraceLevel.CONFIG trace level. |
void |
AlarmFacility.createAlarm(ComponentID alarmSource,
Level alarmLevel,
String alarmType,
String message,
long timestamp)
Deprecated.
This method uses a
ComponentID to identify a notification
source and thus is not compatible with the changes made to the alarm subsystem
in SLEE 1.1. In addition the levels provided by the Level class were
not practical for stateful alarm use. This method has been replaced with
AlarmFacility.raiseAlarm(String,String,AlarmLevel,String) . |
void |
AlarmFacility.createAlarm(ComponentID alarmSource,
Level alarmLevel,
String alarmType,
String message,
Throwable cause,
long timestamp)
Deprecated.
This method uses a
ComponentID to identify a notification
source and thus is not compatible with the changes made to the alarm subsystem
in SLEE 1.1. In addition the levels provided by the Level class were
not practical for stateful alarm use. This method has been replaced with
AlarmFacility.raiseAlarm(String,String,AlarmLevel,String,Throwable) . |
void |
TraceFacility.createTrace(ComponentID messageSource,
Level traceLevel,
String messageType,
String message,
long timestamp)
Deprecated.
This method uses a
ComponentID to identify a notification
source and thus was not flexible enough to be used by other objects in the
SLEE. It has been replaced with Tracer.trace(TraceLevel, String) . |
void |
TraceFacility.createTrace(ComponentID messageSource,
Level traceLevel,
String messageType,
String message,
Throwable cause,
long timestamp)
Deprecated.
This method uses a
ComponentID to identify a notification
source and thus was not flexible enough to be used by other objects in the
SLEE. It has been replaced with Tracer.trace(TraceLevel, String, Throwable) . |
void |
Tracer.fine(String message)
Emit a trace message at the
TraceLevel.FINE trace level. |
void |
Tracer.fine(String message,
Throwable cause)
Emit a trace message with a cause throwable at the
TraceLevel.FINE trace level. |
void |
Tracer.finer(String message)
Emit a trace message at the
TraceLevel.FINER trace level. |
void |
Tracer.finer(String message,
Throwable cause)
Emit a trace message with a cause throwable at the
TraceLevel.FINER trace level. |
void |
Tracer.finest(String message)
Emit a trace message at the
TraceLevel.FINEST trace level. |
void |
Tracer.finest(String message,
Throwable cause)
Emit a trace message with a cause throwable at the
TraceLevel.FINEST trace level. |
ActivityContextInterface |
TimerFacility.getActivityContextInterface(TimerID timerID)
Get a reference to the Activity Context on which a timer was set.
|
long |
TimerFacility.getDefaultTimeout()
Get the default timeout period of the Timer Facility.
|
FireableEventType |
EventLookupFacility.getFireableEventType(EventTypeID eventType)
Get a
FireableEventType object for a given event type. |
ReceivableService |
ServiceLookupFacility.getReceivableService(ServiceID service)
Get information about the event types that a service may receive.
|
long |
TimerFacility.getResolution()
Get the approximate timer resolution of the Timer Facility.
|
TraceLevel |
Tracer.getTraceLevel()
Get the current effective trace level for this tracer.
|
Level |
TraceFacility.getTraceLevel(ComponentID messageSource)
Deprecated.
This method uses a
ComponentID to identify a notification
source and thus was not flexible enough to be used by other objects in the
SLEE. It has been replaced with Tracer.getTraceLevel() . |
void |
Tracer.info(String message)
Emit a trace message at the
TraceLevel.INFO trace level. |
void |
Tracer.info(String message,
Throwable cause)
Emit a trace message with a cause throwable at the
TraceLevel.INFO trace level. |
boolean |
Tracer.isConfigEnabled()
Determine if the current effective trace filter level for this tracer is sufficient to
allow a
TraceNotification to be generated by the
TraceMBean if a trace message was emitted at the
TraceLevel.CONFIG trace level using this tracer. |
boolean |
Tracer.isFineEnabled()
Determine if the current effective trace filter level for this tracer is sufficient to
allow a
TraceNotification to be generated by the
TraceMBean if a trace message was emitted at the
TraceLevel.FINE trace level using this tracer. |
boolean |
Tracer.isFinerEnabled()
Determine if the current effective trace filter level for this tracer is sufficient to
allow a
TraceNotification to be generated by the
TraceMBean if a trace message was emitted at the
TraceLevel.FINER trace level using this tracer. |
boolean |
Tracer.isFinestEnabled()
Determine if the current effective trace filter level for this tracer is sufficient to
allow a
TraceNotification to be generated by the
TraceMBean if a trace message was emitted at the
TraceLevel.FINEST trace level using this tracer. |
boolean |
Tracer.isInfoEnabled()
Determine if the current effective trace filter level for this tracer is sufficient to
allow a
TraceNotification to be generated by the
TraceMBean if a trace message was emitted at the
TraceLevel.INFO trace level using this tracer. |
boolean |
Tracer.isSevereEnabled()
Determine if the current effective trace filter level for this tracer is sufficient to
allow a
TraceNotification to be generated by the
TraceMBean if a trace message was emitted at the
TraceLevel.SEVERE trace level using this tracer. |
boolean |
Tracer.isTraceable(TraceLevel level)
Determine if the current effective trace level for this tracer is sufficient to allow
a
TraceNotification to be generated by the
TraceMBean if a trace message was emitted at the specified
trace level using this tracer. |
boolean |
Tracer.isWarningEnabled()
Determine if the current effective trace filter level for this tracer is sufficient to
allow a
TraceNotification to be generated by the
TraceMBean if a trace message was emitted at the
TraceLevel.WARNING trace level using this tracer. |
ActivityContextInterface |
ActivityContextNamingFacility.lookup(String name)
Get a reference to the Activity Context bound to a particular name.
|
String |
AlarmFacility.raiseAlarm(String alarmType,
String instanceID,
AlarmLevel alarmLevel,
String message)
Request that an alarm be raised with the specified message if an alarm with
the same identifying attributes is not currently active.
|
String |
AlarmFacility.raiseAlarm(String alarmType,
String instanceID,
AlarmLevel alarmLevel,
String message,
Throwable cause)
Request that an alarm be raised with the specified message and cause throwable
if an alarm with the same identifying attributes is not currently active.
|
TimerID |
TimerFacility.setTimer(ActivityContextInterface aci,
Address address,
long startTime,
long period,
int numRepetitions,
TimerOptions options)
Set a periodic timer.
|
TimerID |
TimerFacility.setTimer(ActivityContextInterface aci,
Address address,
long expireTime,
TimerOptions options)
Set a non-periodic timer.
|
void |
Tracer.severe(String message)
Emit a trace message at the
TraceLevel.SEVERE trace level. |
void |
Tracer.severe(String message,
Throwable cause)
Emit a trace message with a cause throwable at the
TraceLevel.SEVERE trace level. |
void |
Tracer.trace(TraceLevel level,
String message)
Emit a trace message at the specified trace level.
|
void |
Tracer.trace(TraceLevel level,
String message,
Throwable cause)
Emit a trace message with a cause throwable at the specified trace level.
|
void |
ActivityContextNamingFacility.unbind(String name)
Unbind a bound name.
|
void |
Tracer.warning(String message)
Emit a trace message at the
TraceLevel.WARNING trace level. |
void |
Tracer.warning(String message,
Throwable cause)
Emit a trace message with a cause throwable at the
TraceLevel.WARNING trace level. |
Modifier and Type | Method and Description |
---|---|
ProfileID |
ProfileFacility.getProfileByIndexedAttribute(String profileTableName,
String attributeName,
Object attributeValue)
Deprecated.
Replaced with
,
which returns a Profile Local Interface object that can be used to interact
with the profile directly, rather than a profile identifier which requires a
secondary lookup via a get-profile-CMP method. |
Collection |
ProfileFacility.getProfiles(String profileTableName)
Deprecated.
Replaced with
,
which returns a collection of Profile Local Interface objects that can be
used to interact with the profiles directly, rather than a collection of
profile identifiers which require a secondary lookup via a get-profile-CMP
method. |
Collection |
ProfileFacility.getProfilesByIndexedAttribute(String profileTableName,
String attributeName,
Object attributeValue)
Deprecated.
Replaced with
,
which returns a collection of Profile Local Interface objects that can be
used to interact with the profiles directly, rather than a collection of
profile identifiers which require a secondary lookup via a get-profile-CMP
method. |
ProfileTable |
ProfileFacility.getProfileTable(String profileTableName)
Get a
ProfileTable object for a profile table. |
ProfileTableActivity |
ProfileFacility.getProfileTableActivity(String profileTableName)
Get a
ProfileTableActivity object for a profile table. |