Profile
, as a Profile Abstract Class may be implemented for
both management and component interaction with a profile.public interface ProfileManagement
Modifier and Type | Method and Description |
---|---|
boolean |
isProfileDirty()
Deprecated.
Due to changes in the Profile model in SLEE 1.1, this method has
been deprecated with no replacement.
|
boolean |
isProfileValid(ProfileID id)
Deprecated.
The same functionality can be obtained in the SLEE 1.1 profile model
as follows:
ProfileContext context = ... find method is null, the profile does not exist
in the specified profile table. |
void |
markProfileDirty()
Deprecated.
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.
|
void |
profileInitialize()
Deprecated.
Replaced with
Profile.profileInitialize() . |
void |
profileLoad()
Deprecated.
Replaced with
Profile.profileLoad() . |
void |
profileStore()
Deprecated.
Replaced with
Profile.profileStore() . |
void |
profileVerify()
Deprecated.
Replaced with
Profile.profileVerify() . |
void profileInitialize()
Profile.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.
void profileLoad()
Profile.profileLoad()
.This method is invoked with an active transaction context.
void profileStore()
Profile.profileStore()
.This method is invoked with an active transaction context.
void profileVerify() throws ProfileVerificationException
Profile.profileVerify()
.ProfileVerificationException
should be thrown.ProfileVerificationException
- if the profile fails any verification check.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.
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.boolean isProfileValid(ProfileID id) throws NullPointerException, SLEEException
ProfileContext context = ...
context.getProfileTable(id.getProfileTableName())
.find(id.getProfileName())
find
method is null, the profile does not exist
in the specified profile table.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.NullPointerException
- if id
is null
.SLEEException
- if the profile identifier could not be validated due to
a system-level failure.