public interface ProfileExt
extends javax.slee.profile.Profile
Profile.setProfileContext(ProfileContext), and after
invocation of profileConfigure(ConfigProperties) the
Pooled state is reached. In the reverse direction of the state machine,
instead of moving from Pooled to Does Not Exists state, now it goes from
Pooled to Unconfigured, upon invocation of
profileUnconfigure(), and upon invocation of
Profile.unsetProfileContext() it goes to Does Not Exists state again.| Modifier and Type | Method and Description |
|---|---|
void |
profileConfigurationUpdate(ConfigProperties properties)
This method is invoked by the SLEE whenever the Administrator
successfully updates a Profile Spec with new configuration properties.
|
void |
profileConfigure(ConfigProperties properties)
The SLEE invokes this method on a Profile object in the Unconfigured
state to provide it with configuration properties common for any Profile
entity that uses the object.
|
void |
profileUnconfigure()
The SLEE invokes this method on a Profile object in the Pooled state,
indicating the transition to Unconfigured state.
|
void |
profileVerifyConfiguration(ConfigProperties properties)
This method is invoked by the SLEE whenever a new Profile Spec, which
refers the abstract Profile class, is activated by the Administrator, or
when the Administrator attempts to update the configuration properties.
|
void profileConfigure(ConfigProperties properties)
This method is invoked with an unspecified transaction context.
properties - the configuration properties specified for the Profile object.void profileUnconfigure()
profileConfigure(ConfigProperties) or
profileConfigurationUpdate(ConfigProperties).
This method is invoked with an unspecified transaction context.
void profileVerifyConfiguration(ConfigProperties properties) throws javax.slee.resource.InvalidConfigurationException
This method may be invoked on a Profile object in any valid state, therefore the implementation of this method should assume nothing about the internal state of the Profile object.
This method is invoked with an unspecified transaction context.
properties - contains the proposed new values for all configuration
properties specified for the Profile object.InvalidConfigurationException - if the configuration properties are not valid for some
reason.javax.slee.resource.InvalidConfigurationExceptionvoid profileConfigurationUpdate(ConfigProperties properties)
This method is invoked with an unspecified transaction context.
properties - contains the new values for all configuration properties
specified for the Profile object.properties - Copyright © 2017. All rights reserved.