Deprecated API


Contents
Deprecated Interfaces
javax.slee.profile.AddressProfileCMP
          This CMP interface is suitable only for SLEE 1.0 address profile tables, as array types cannot be used in SLEE 1.1 profile queries. The AddressProfile11CMP interface can be used instead as a base CMP interface for SLEE 1.1 address profile tables. 
javax.slee.profile.ProfileManagement
          Renamed to Profile, as a Profile Abstract Class may be implemented for both management and component interaction with a profile. 
javax.slee.profile.ResourceInfoProfileCMP
          As resource adaptor components may use whatever profile specifications they need in SLEE 1.1, this interface and its associated profile specification are no longer required. 
javax.slee.usage.SbbUsageMBean
          This interface has been replaced with the UsageMBean interface, which specifies the source of the usage information using a generic NotificationSource object. However, to ensure backward compatibility, a UsageMBean object that is created by the SLEE for an SBB installed using a SLEE 1.0 deployment descriptor (as determined by the deployment descriptor's DOCTYPE declaration) must continue to implement this interface as well as the UsageMBean interface of SLEE 1.1. 
javax.slee.facilities.TraceFacility
          Replaced with Tracer objects that may be obtained from the SbbContext for SBBs, the ProfileContext for profiles, or the ResourceAdaptorContext for resource adaptor entities. 
 

Deprecated Classes
javax.slee.facilities.Level
          Trace and alarm levels now defined in TraceLevel and AlarmLevel. 
 

Deprecated Fields
javax.slee.management.AlarmMBean.ALARM_NOTIFICATION_TYPE
          Different notification types may be generated by the Alarm MBean depending on where the alarm state was modified. The SLEE-defined classes that implement NotificationSource each specify a particular alarm notification type for the notification source. 
javax.slee.facilities.Level.CONFIG
          Trace and alarm levels now defined in TraceLevel and AlarmLevel. 
javax.slee.facilities.Level.FINE
          Trace and alarm levels now defined in TraceLevel and AlarmLevel. 
javax.slee.facilities.Level.FINER
          Trace and alarm levels now defined in TraceLevel and AlarmLevel. 
javax.slee.facilities.Level.FINEST
          Trace and alarm levels now defined in TraceLevel and AlarmLevel. 
javax.slee.facilities.Level.INFO
          Trace and alarm levels now defined in TraceLevel and AlarmLevel. 
javax.slee.facilities.Level.LEVEL_CONFIG
          Trace and alarm levels now defined in TraceLevel and AlarmLevel. 
javax.slee.facilities.Level.LEVEL_FINE
          Trace and alarm levels now defined in TraceLevel and AlarmLevel. 
javax.slee.facilities.Level.LEVEL_FINER
          Trace and alarm levels now defined in TraceLevel and AlarmLevel. 
javax.slee.facilities.Level.LEVEL_FINEST
          Trace and alarm levels now defined in TraceLevel and AlarmLevel. 
javax.slee.facilities.Level.LEVEL_INFO
          Trace and alarm levels now defined in TraceLevel and AlarmLevel. 
javax.slee.facilities.Level.LEVEL_OFF
          Trace and alarm levels now defined in TraceLevel and AlarmLevel. 
javax.slee.facilities.Level.LEVEL_SEVERE
          Trace and alarm levels now defined in TraceLevel and AlarmLevel. 
javax.slee.facilities.Level.LEVEL_WARNING
          Trace and alarm levels now defined in TraceLevel and AlarmLevel. 
javax.slee.facilities.Level.OFF
          Trace and alarm levels now defined in TraceLevel and AlarmLevel. 
javax.slee.facilities.Level.SEVERE
          Trace and alarm levels now defined in TraceLevel and AlarmLevel. 
javax.slee.management.TraceMBean.TRACE_NOTIFICATION_TYPE
          Different notification types may be generated by the Trace MBean depending on where the trace message was emitted. The SLEE-defined classes that implement NotificationSource each specify a particular trace notification type for the notification source. 
javax.slee.usage.SbbUsageMBean.USAGE_NOTIFICATION_TYPE
          Usage notification types are specified by the various classes that implement NotificationSource and refenced by a UsageMBean (which replaces this interface). 
javax.slee.facilities.Level.WARNING
          Trace and alarm levels now defined in TraceLevel and AlarmLevel. 
 

Deprecated Methods
javax.slee.usage.SbbUsageMBean.close()
          Replaced with UsageMBean.close(). 
javax.slee.facilities.AlarmFacility.createAlarm(ComponentID, Level, String, String, long)
          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). 
javax.slee.facilities.AlarmFacility.createAlarm(ComponentID, Level, String, String, Throwable, long)
          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). 
javax.slee.facilities.TraceFacility.createTrace(ComponentID, Level, String, String, long)
          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). 
javax.slee.facilities.TraceFacility.createTrace(ComponentID, Level, String, String, Throwable, long)
          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). 
javax.slee.facilities.Level.fromInt(int)
          Trace and alarm levels now defined in TraceLevel and AlarmLevel. 
javax.slee.profile.ProfileAddedEvent.getAddedProfile()
          Replaced with ProfileAddedEvent.getAddedProfileLocal() which returns an object implementing the Profile Local Interface rather than the Profile CMP Interface. 
javax.slee.profile.ProfileUpdatedEvent.getAfterUpdateProfile()
          Replaced with ProfileUpdatedEvent.getAfterUpdateProfileLocal() ()} which returns an object implementing the Profile Local Interface rather than the Profile CMP Interface. 
javax.slee.management.AlarmNotification.getAlarmSource()
          Replaced with AlarmNotification.getNotificationSource(). 
javax.slee.profile.ProfileUpdatedEvent.getBeforeUpdateProfile()
          Replaced with ProfileUpdatedEvent.getBeforeUpdateProfileLocal() ()} which returns an object implementing the Profile Local Interface rather than the Profile CMP Interface. 
javax.slee.management.TraceNotification.getLevel()
          Replaced with TraceNotification.getTraceLevel() as trace and alarm levels have been split into different classes. 
javax.slee.management.AlarmNotification.getLevel()
          Trace and alarm levels have been split into different classes. Replaced with AlarmNotification.getAlarmLevel(). 
javax.slee.management.TraceNotification.getMessageSource()
          Replaced with TraceNotification.getNotificationSource(). 
javax.slee.management.TraceNotification.getMessageType()
          Replaced with TraceNotification.getTracerName(). 
javax.slee.profile.ProfileFacility.getProfileByIndexedAttribute(String, String, Object)
          Replaced with getProfileTable(profileTableName).findProfileByAttribute(attributeName, attributeValue), 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. 
javax.slee.profile.ProfileFacility.getProfiles(String)
          Replaced with getProfileTable(profileTableName).findAll(), 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. 
javax.slee.management.ProfileProvisioningMBean.getProfilesByIndexedAttribute(String, String, Object)
          Replaced with getProfilesByAttribute(profileTableName, attributeName, attributeValue). as SLEE 1.1 does not require an attribute to be indexed in order to perform searches against that attribute. 
javax.slee.profile.ProfileFacility.getProfilesByIndexedAttribute(String, String, Object)
          Replaced with getProfileTable(profileTableName).findProfilesByAttribute(attributeName, attributeValue), 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. 
javax.slee.profile.ProfileRemovedEvent.getRemovedProfile()
          Replaced with ProfileRemovedEvent.getRemovedProfileLocal() which returns an object implementing the Profile Local Interface rather than the Profile CMP Interface. 
javax.slee.resource.ResourceAdaptorDescriptor.getResourceAdaptorType()
          Resource adaptors may now implement more than one resource adaptor type. This method will return the first array index of the array returned by ResourceAdaptorDescriptor.getResourceAdaptorTypes(), which replaces this method. 
javax.slee.management.ServiceDescriptor.getResourceInfoProfileTable()
          The Resource Adaptor architecture of SLEE 1.1 specifies how resource adaptors may interact with profile tables and profiles. 
javax.slee.usage.UsageNotification.getSbb()
          Replaced with UsageNotification.getNotificationSource() in order to specify a broader range of usage sources. 
javax.slee.usage.SbbUsageMBean.getSbb()
          Replaced with a UsageMBean containing an SbbNotification as a notification source. 
javax.slee.usage.UsageNotification.getService()
          Replaced with UsageNotification.getNotificationSource() in order to specify a broader range of usage sources. 
javax.slee.usage.SbbUsageMBean.getService()
          Replaced with a UsageMBean containing an SbbNotification as a notification source. 
javax.slee.facilities.TraceFacility.getTraceLevel(ComponentID)
          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(). 
javax.slee.management.TraceMBean.getTraceLevel(ComponentID)
          This method uses a ComponentID to identify a notification source and thus is not compatible with the changes made to the tracing subsystem in SLEE 1.1. It has been replaced with TraceMBean.getTraceLevel(NotificationSource, String). 
javax.slee.usage.SbbUsageMBean.getUsageParameterSet()
          Replaced with UsageMBean.getUsageParameterSet(). 
javax.slee.facilities.Level.isConfig()
          Trace and alarm levels now defined in TraceLevel and AlarmLevel. 
javax.slee.facilities.Level.isFine()
          Trace and alarm levels now defined in TraceLevel and AlarmLevel. 
javax.slee.facilities.Level.isFiner()
          Trace and alarm levels now defined in TraceLevel and AlarmLevel. 
javax.slee.facilities.Level.isFinest()
          Trace and alarm levels now defined in TraceLevel and AlarmLevel. 
javax.slee.facilities.Level.isHigherLevel(Level)
          Trace and alarm levels now defined in TraceLevel and AlarmLevel. 
javax.slee.facilities.Level.isMinor()
          Trace and alarm levels now defined in TraceLevel and AlarmLevel. 
javax.slee.facilities.Level.isOff()
          Trace and alarm levels now defined in TraceLevel and AlarmLevel. 
javax.slee.facilities.TimerOptions.isPersistent()
          the persistent option has been deprecated. 
javax.slee.profile.ProfileManagement.isProfileDirty()
          Due to changes in the Profile model in SLEE 1.1, this method has been deprecated with no replacement. 
javax.slee.profile.ProfileManagement.isProfileValid(ProfileID)
          The same functionality can be obtained in the SLEE 1.1 profile model as follows: If the result of the find method is null, the profile does not exist in the specified profile table. 
javax.slee.facilities.Level.isSevere()
          Trace and alarm levels now defined in TraceLevel and AlarmLevel. 
javax.slee.facilities.Level.isWarning()
          Trace and alarm levels now defined in TraceLevel and AlarmLevel. 
javax.slee.profile.ProfileManagement.markProfileDirty()
          Due to changes in the Profile model in SLEE 1.1, this method has been deprecated with no replacement. A profile is still implicitly flagged as dirty if a CMP field of the profile is updated. 
javax.slee.profile.ProfileManagement.profileInitialize()
          Replaced with Profile.profileInitialize(). 
javax.slee.profile.ProfileManagement.profileLoad()
          Replaced with Profile.profileLoad(). 
javax.slee.profile.ProfileManagement.profileStore()
          Replaced with Profile.profileStore(). 
javax.slee.profile.ProfileManagement.profileVerify()
          Replaced with Profile.profileVerify(). 
javax.slee.usage.SbbUsageMBean.resetAllUsageParameters()
          Replaced with UsageMBean.resetAllUsageParameters(). 
javax.slee.facilities.TimerOptions.setPersistent(boolean)
          the persistent option has been deprecated. 
javax.slee.management.TraceMBean.setTraceLevel(ComponentID, Level)
          This method uses a ComponentID to identify a notification source and thus is not compatible with the changes made to the tracing subsystem in SLEE 1.1. It has been replaced with TraceMBean.setTraceLevel(NotificationSource, String, TraceLevel). 
javax.slee.facilities.Level.toInt()
          Trace and alarm levels now defined in TraceLevel and AlarmLevel. 
 

Deprecated Constructors
javax.slee.management.AlarmLevelFilter(Level)
          Replaced with AlarmLevelFilter.AlarmLevelFilter(AlarmLevel) as trace and alarm levels have been split into different classes. 
javax.slee.management.AlarmNotification(AlarmMBean, String, Object, Level, String, Throwable, long, long)
          Alarm notifications have been expanded with new attributes to take advantage of the new features provided by the SLEE specification. The AlarmNotification.AlarmNotification(String,AlarmMBean,String,NotificationSource,String,String,AlarmLevel,String,Throwable,long,long) constructor should be used instead of this constructor. 
javax.slee.facilities.TimerOptions(boolean, long, TimerPreserveMissed)
          This constructor specifies the value of the persistent option, which has been deprecated. It has been replaced with TimerOptions.TimerOptions(long, TimerPreserveMissed). 
javax.slee.management.TraceLevelFilter(Level)
          Replaced with TraceLevelFilter.TraceLevelFilter(TraceLevel) as trace and alarm levels have been split into different classes. 
javax.slee.management.TraceNotification(TraceMBean, String, Object, Level, String, Throwable, long, long)
          Trace notifications have been expanded with new attributes to take advantage of the new features provided by the SLEE specification. The TraceNotification.TraceNotification(String, TraceMBean, NotificationSource, String, javax.slee.facilities.TraceLevel, String, Throwable, long, long) constructor should be used instead of this constructor. 
javax.slee.usage.UsageNotification(SbbUsageMBean, ServiceID, SbbID, String, String, boolean, long, long, long)
          Usage notifications have been expanded with new attributes to take advantage of the new features provided by the SLEE specification. The UsageNotification.UsageNotification(String, UsageMBean, NotificationSource, String, String, boolean, long, long, long) constructor should be used instead of this constructor. 
javax.slee.usage.UsageOutOfRangeFilter(ServiceID, SbbID, String, long, long)
          Replaced with UsageOutOfRangeFilter.UsageOutOfRangeFilter(NotificationSource, String, long, long) as usage collecting has been expanded to include SLEE components other than SBBs. 
javax.slee.usage.UsageThresholdFilter(ServiceID, SbbID, String, long)
          Replaced with UsageThresholdFilter.UsageThresholdFilter(NotificationSource, String, long) as usage collecting has been expanded to include SLEE components other than SBBs. 
javax.slee.usage.UsageUpdatedFilter(ServiceID, SbbID, String)
          Replaced with UsageUpdatedFilter.UsageUpdatedFilter(NotificationSource, String) as usage collecting has been expanded to include SLEE components other than SBBs. 
 



Copyright © 2009. All Rights Reserved.