javax.slee.profile
Interface ProfileRemovedEvent


public interface ProfileRemovedEvent

This interface is implemented by profile removed events generated by ProfileProvisioningMBean objects when a profile is removed from a profile table.

The event type name of profile removed events is "javax.slee.profile.ProfileRemovedEvent".


Method Summary
 ProfileID getProfile()
          Get the profile identifer for the profile that was removed.
 Address getProfileAddress()
          Get the address of the profile that was removed.
 java.lang.Object getRemovedProfile()
          Get the committed state of the profile just before it was removed.
 

Method Detail

getProfile

public ProfileID getProfile()
Get the profile identifer for the profile that was removed.
Returns:
the profile identifier for the profile that was removed.

getProfileAddress

public Address getProfileAddress()
Get the address of the profile that was removed. The address plan of this address is AddressPlan.SLEE_PROFILE.
Returns:
the address of the profile that was removed.

getRemovedProfile

public java.lang.Object getRemovedProfile()
Get the committed state of the profile just before it was removed. 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 resided, 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.

Returns:
the committed state of the profile just before it was removed.