public interface ProfileMBean
The base JMX Object Name of a
ProfileMBean object is specified by the
BASE_OBJECT_NAME constant. The
PROFILE_NAME_KEY constants define additional Object Name properties that
uniquely identify a profile. The complete Object Name for a Profile MBean can
be obtained by a management client via various methods in the
|Modifier and Type
|Field and Description
The base JMX Object Name string of all SLEE Profile MBeans.
The JMX Object Name property key that identifies a Profile MBean as representing the profile specified by the value of this key in the Object Name.
The JMX Object Name property key that identifies a Profile MBean as representing a profile belonging to the profile table specified by the value of this key in the Object Name.
|Modifier and Type
|Method and Description
Notify the SLEE that the profile is no longer required by the management client.
Request that changes made to a profile be committed by the SLEE.
Request that the client be granted read/write access to the profile so that it may be updated.
Determine if the profile has been modified since the request to edit the profile.
Get the current read-write status of the profile.
Request that changes made to profile should be discarded by the SLEE.
static final String BASE_OBJECT_NAME
BASE_OBJECT_NAME + ",*"
defines a JMX Object Name property pattern which matches with all Profile MBeans
that are registered with the MBean Server. A Profile MBean is registered with
the MBean Server using this base name in conjunction with properties whose keys
are specified by the
static final String PROFILE_TABLE_NAME_KEY
static final String PROFILE_NAME_KEY
void editProfile() throws ManagementException
ManagementException - if the profile could not be opened in
read/write mode due to a system-level failure.
void commitProfile() throws InvalidStateException, ProfileVerificationException, ManagementException
InvalidStateException - if the client does not have read/write
access to the profile, ie
ProfileVerificationException - if thrown by the
callback method in the profile's Management Profile Abstract Class. This exception
can also be thrown by the profile MBean if the deployment descriptor for the profile
specification documents an indexed attribute as requiring unique values and a
non-unique value has been supplied in the profile.
ManagementException - if the commit operation could not be successfully
completed due to a system-level failure.
void restoreProfile() throws InvalidStateException, ManagementException
void closeProfile() throws InvalidStateException, ManagementException
boolean isProfileDirty() throws ManagementException
true if the profile has been modified in the current
false if the profile hasn't been modified or
the profile is read-only to the client.
ManagementException - if it could not be determined if the profile has
been modified due to a system-level failure.
boolean isProfileWriteable() throws ManagementException