javax.slee.profile
Interface ProfileUpdatedEvent


public interface ProfileUpdatedEvent

This interface is implemented by profile updated events generated by ProfileMBean objects when a profile is updated.

The event type name of profile updated events is "javax.slee.profile.ProfileUpdatedEvent".


Method Summary
 java.lang.Object getAfterUpdateProfile()
          Deprecated. Replaced with getAfterUpdateProfileLocal() ()} which returns an object implementing the Profile Local Interface rather than the Profile CMP Interface.
 ProfileLocalObject getAfterUpdateProfileLocal()
          Get a profile local object associated with the committed state of the profile after it was updated.
 java.lang.Object getBeforeUpdateProfile()
          Deprecated. Replaced with getBeforeUpdateProfileLocal() ()} which returns an object implementing the Profile Local Interface rather than the Profile CMP Interface.
 ProfileLocalObject getBeforeUpdateProfileLocal()
          Get a profile local object associated with the committed state of the profile before it was updated.
 ProfileID getProfile()
          Get the profile identifier for the profile that was updated.
 Address getProfileAddress()
          Get the address of the profile that was updated.
 

Method Detail

getProfile

ProfileID getProfile()
Get the profile identifier for the profile that was updated.

Returns:
the profile identifier for the profile that was updated.

getProfileAddress

Address getProfileAddress()
Get the address of the profile that was updated. This method is equivalent to this.getProfile().toAddress().

Returns:
the address of the profile that was updated.

getBeforeUpdateProfile

java.lang.Object getBeforeUpdateProfile()
Deprecated. Replaced with getBeforeUpdateProfileLocal() ()} which returns an object implementing the Profile Local Interface rather than the Profile CMP Interface.

Get the committed state of the profile before it was updated. The actual type of the return value is the Profile CMP Interface defined by the profile specification of the profile table in which the profile resides, and may be safely typecast using the normal Java typecast mechanism.

The object returned from this method is only valid within the event-handler transaction in which the event was delivered to an SBB entity. The state contained in the object is read-only and cannot be modified.

Returns:
the committed state of the profile before it was updated. This method may return null in the case where the required profile specification classes are not available in the classloader of the calling SLEE component, eg. the SLEE component's deployment descriptor has not defined a reference to the profile specification of this event's profile table.

getAfterUpdateProfile

java.lang.Object getAfterUpdateProfile()
Deprecated. Replaced with getAfterUpdateProfileLocal() ()} which returns an object implementing the Profile Local Interface rather than the Profile CMP Interface.

Get the committed state of the profile after it was updated. The actual type of the return value is the Profile CMP Interface defined by the profile specification of the profile table in which the profile resides, and may be safely typecast using the normal Java typecast mechanism.

The object returned from this method is only valid within the event-handler transaction in which the event was delivered to an SBB entity. The state contained in the object is read-only and cannot be modified.

Returns:
the committed state of the profile after it was updated. This method may return null in the case where the required profile specification classes are not available in the classloader of the calling SLEE component, eg. the SLEE component's deployment descriptor has not defined a reference to the profile specification of this event's profile table.

getBeforeUpdateProfileLocal

ProfileLocalObject getBeforeUpdateProfileLocal()
Get a profile local object associated with the committed state of the profile before it was updated. The actual type of the return value is the Profile Local Interface defined by the profile specification of the profile table in which the profile resides, and may be safely typecast using the normal Java typecast mechanism.

The object returned from this method is only valid within the event-handler transaction in which the event was delivered to an SBB entity. The state accessed via the profile local object is read-only and cannot be modified.

Returns:
a profile local object associated with the committed state of the profile before it was updated. This method may return null in the case where the required profile specification classes are not available in the classloader of the calling SLEE component, eg. the SLEE component's deployment descriptor has not defined a reference to the profile specification of this event's profile table.
Since:
SLEE 1.1

getAfterUpdateProfileLocal

ProfileLocalObject getAfterUpdateProfileLocal()
Get a profile local object associated with the committed state of the profile after it was updated. The actual type of the return value is the Profile Local Interface defined by the profile specification of the profile table in which the profile resides, and may be safely typecast using the normal Java typecast mechanism.

The object returned from this method is only valid within the event-handler transaction in which the event was delivered to an SBB entity. The state accessed via the profile local object is read-only and cannot be modified.

Returns:
a profile local object associated with the committed state of the profile after it was updated. This method may return null in the case where the required profile specification classes are not available in the classloader of the calling SLEE component, eg. the SLEE component's deployment descriptor has not defined a reference to the profile specification of this event's profile table.
Since:
SLEE 1.1


Copyright © 2009. All Rights Reserved.