|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface must be implemented by a Profile Management Abstract Class if a profile specification includes such a class.
Method Summary | |
boolean |
isProfileDirty()
Determine if the profile has been dirtied by an uncommitted change to its state. |
boolean |
isProfileValid(ProfileID id)
Determine if the profile referenced by a specified profile identifier currently exists. |
void |
markProfileDirty()
Mark the profile as being dirty, that is, that it has been modified since it was last committed. |
void |
profileInitialize()
The SLEE invokes this operation once the persistence representation for the profile has been created. |
void |
profileLoad()
The SLEE invokes this method on a profile when the state of the profile object needs to be synchronized with the state in the underlying data source. |
void |
profileStore()
The SLEE invokes this operation when the state of the underlying data source needs to be synchronized with the state of the profile. |
void |
profileVerify()
The SLEE invokes this operation in response to a request by the Administrator to commit any changes made to the profile. |
Method Detail |
public void profileInitialize()
This method is invoked with an active transaction context.
The SLEE follows a call to this method with a call to profileStore()
and profileVerify()
in the same transaction.
public void profileLoad()
This method is invoked with an active transaction context.
public void profileStore()
This method is invoked with an active transaction context.
public void profileVerify() throws ProfileVerificationException
ProfileVerificationException
should be thrown.ProfileVerificationException
- if the profile fails any verification check.public void markProfileDirty()
An SBB Developer must not implement this operation. It is implemented by the SLEE at deployment time.
This method must be invoked with a valid transaction context.
public boolean isProfileDirty()
An SBB Developer must not implement this operation. It is implemented by the SLEE at deployment time.
This method must be invoked with a valid transaction context.
true
if the profile has been modified since last being
committed, false
otherwise.public boolean isProfileValid(ProfileID id) throws java.lang.NullPointerException, SLEEException
An SBB Developer must not implement this operation. It is implemented by the SLEE at deployment time.
This method must be invoked with a valid transaction context.
id
- the profile identifier.true
if the profile referenced by the profile identifier
currently exists, false
otherwise.java.lang.NullPointerException
- if id
is null
.SLEEException
- if the profile identifier could not be validated due to
a system-level failure.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |