|
ABLE 2.3.0 07/13/2005 14:21:00 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
The RmiPlatformSupportService interface defines the operations that can be requested of a remote Platform Support Service.
A Platform Support Service can be used to:
| Method Summary | |
|---|---|
void |
quiesceAgentPool(java.lang.String theAgentPoolAlias,
AbleSecureKey theSecureKey)
Quiesces the specified agent pool by sending a quitAgent to each agent known to be running in the
pool. |
void |
recoverAgentPool(java.lang.String theAgentPoolAlias,
AbleSecureKey theSecureKey)
Recovers the specified agent pool by recreating agents and services that are to be running there. |
void |
refreshAgentPoolPreferences(java.lang.String theAgentPoolAlias,
AblePlatformPreferences thePlatformPreferences,
AbleSecureKey theSecureKey)
Refreshes the specified agent pool's platform preferences from a specified platform preference object. |
void |
refreshAgentPoolPreferences(java.lang.String theAgentPoolAlias,
AbleSecureKey theSecureKey)
Refreshes the specified agent pool's platform preferences from a file that has first been securely distributed to the system containing that agent pool. |
void |
refreshAgentPoolPreferencesFromFileLocalToAgentPool(java.lang.String theAgentPoolAlias,
java.lang.String theFileName,
AbleSecureKey theSecureKey)
Refreshes the specified agent pool's platform preferences from a file that has first been distributed to the system containing that agent pool. |
void |
refreshAgentPoolPreferencesFromFileLocalToService(java.lang.String theAgentPoolAlias,
java.lang.String theFileName,
AbleSecureKey theSecureKey)
Refreshes the specified agent pool's platform preferences from a file that has first been distributed to the system containing the agent pool running the Platform Support Service. |
void |
refreshPlatformPreferences(AblePlatformPreferences thePlatformPreferences,
AbleSecureKey theSecureKey)
Refreshes every agent pool's platform preferences from a specified platform preference object. |
void |
refreshPlatformPreferences(AbleSecureKey theSecureKey)
Refreshes every agent pool's platform preferences from a file that has first been securely distributed to every system that contains an agent pool. |
void |
refreshPlatformPreferencesFromFileLocalToAgentPool(java.lang.String theFileName,
AbleSecureKey theSecureKey)
Refreshes every agent pool's platform preferences from a file that has first been distributed to each system containing an agent pool. |
void |
refreshPlatformPreferencesFromFileLocalToService(java.lang.String theFileName,
AbleSecureKey theSecureKey)
Refreshes every agent pool's platform preferences from a file that has first been distributed to the system containing the agent pool running the Platform Support Service. |
void |
terminateAgentPool(java.lang.String theAgentPoolAlias,
AbleSecureKey theSecureKey)
Terminates the specified agent pool by killing it's JVM. |
void |
terminatePlatform(AbleSecureKey theSecureKey)
Terminates all known agent pools across the entire platform by killing their JVMs. |
| Methods inherited from interface com.ibm.able.platform.RmiAblePlatformService |
|---|
getState, terminateService |
| Methods inherited from interface com.ibm.able.platform.RmiAblePlatformServiceEventGenerator |
|---|
addAblePlatformServiceEventListener, getAblePlatformServiceEventListeners, removeAblePlatformServiceEventListener |
| Method Detail |
public void quiesceAgentPool(java.lang.String theAgentPoolAlias,
AbleSecureKey theSecureKey)
throws java.rmi.RemoteException,
PlatformSupportServiceException
quitAgent to each agent known to be running in the
pool.
Note that there is nothing that prevents new agents from being created in the pool during the time the pool is being quiesced.
theAgentPoolAlias - The name of an agent pool defined in the platform
preference file.theSecureKey - Used when security is on to make sure that the caller
is authentic and has the authority to perform the
operation; may be null when security is off.
java.rmi.RemoteException - On any RMI error.
PlatformSupportServiceException - On any platform support error.
public void recoverAgentPool(java.lang.String theAgentPoolAlias,
AbleSecureKey theSecureKey)
throws java.rmi.RemoteException,
PlatformSupportServiceException
AgentLifeCycleService is used to recreate any agents that it originally created in the pool. AblePlatformSupport is used to recreate any services that were originally running in the pool. If persistence was active for a service, that service should recover itself nicely.
theAgentPoolAlias - The name of an agent pool defined in the platform
preference file.theSecureKey - Used when security is on to make sure that the caller
is authentic and has the authority to perform the
operation; may be null when security is off.
PlatformSupportServiceException - On any platform support error.
java.rmi.RemoteException
public void terminateAgentPool(java.lang.String theAgentPoolAlias,
AbleSecureKey theSecureKey)
throws java.rmi.RemoteException,
PlatformSupportServiceException
theAgentPoolAlias - The name of an agent pool defined in the platform
preference file.theSecureKey - Used when security is on to make sure that the caller
is authentic and has the authority to perform the
operation; may be null when security is off.
java.rmi.RemoteException - On any RMI error.
PlatformSupportServiceException - On any platform support error.
public void terminatePlatform(AbleSecureKey theSecureKey)
throws java.rmi.RemoteException,
PlatformSupportServiceException
theSecureKey - Used when security is on to make sure that the caller
is authentic and has the authority to perform the
operation; may be null when security is off.
java.rmi.RemoteException - On any RMI error.
PlatformSupportServiceException - On any platform support error.
public void refreshAgentPoolPreferences(java.lang.String theAgentPoolAlias,
AbleSecureKey theSecureKey)
throws java.rmi.RemoteException,
PlatformSupportServiceException
ableplatform.preferences
and the file's location is at the place specified by the system
property able.prefdir.
theAgentPoolAlias - The name of an agent pool defined in the platform
preference file.theSecureKey - Used when security is on to make sure that the caller
is authentic and has the authority to perform the
operation; may be null when security is off.
java.rmi.RemoteException - On any RMI error.
PlatformSupportServiceException - On any platform support error.
public void refreshAgentPoolPreferences(java.lang.String theAgentPoolAlias,
AblePlatformPreferences thePlatformPreferences,
AbleSecureKey theSecureKey)
throws java.rmi.RemoteException,
PlatformSupportServiceException
Note that when security is enabled, this method ultimately has no effect, because the AblePlatformPreference class is not currently able to verify and authorise callers; therefore it ignores calls that can be used to alter the platform in a malicious way.
theAgentPoolAlias - The name of an agent pool defined in the platform
preference file.thePlatformPreferences - A platform preference object containing a new set of
preferences.theSecureKey - Used when security is on to make sure that the caller
is authentic and has the authority to perform the
operation; may be null when security is off.
java.rmi.RemoteException - On any RMI error.
PlatformSupportServiceException - On any platform support error.
public void refreshAgentPoolPreferencesFromFileLocalToAgentPool(java.lang.String theAgentPoolAlias,
java.lang.String theFileName,
AbleSecureKey theSecureKey)
throws java.rmi.RemoteException,
PlatformSupportServiceException
Note that when security is enabled, this method ultimately has no effect, because the AblePlatformPreference class is not currently able to verify and authorise callers; therefore it ignores calls that can be used to alter the platform in a malicious way.
theAgentPoolAlias - The name of an agent pool defined in the platform
preference file.theFileName - The complete name (including path) of a file that
contains a valid set of ABLE platform preference
specifications.theSecureKey - Used when security is on to make sure that the caller
is authentic and has the authority to perform the
operation; may be null when security is off.
java.rmi.RemoteException - On any RMI error.
PlatformSupportServiceException - On any platform support error.
public void refreshAgentPoolPreferencesFromFileLocalToService(java.lang.String theAgentPoolAlias,
java.lang.String theFileName,
AbleSecureKey theSecureKey)
throws java.rmi.RemoteException,
PlatformSupportServiceException
Note that when security is enabled, this method ultimately has no effect, because the AblePlatformPreference class is not currently able to verify and authorise callers; therefore it ignores calls that can be used to alter the platform in a malicious way.
theAgentPoolAlias - The name of an agent pool defined in the platform
preference file.theFileName - The complete name (including path) of a file that
contains a valid set of ABLE platform preference
specifications.theSecureKey - Used when security is on to make sure that the caller
is authentic and has the authority to perform the
operation; may be null when security is off.
java.rmi.RemoteException - On any RMI error.
PlatformSupportServiceException - On any platform support error.
public void refreshPlatformPreferences(AbleSecureKey theSecureKey)
throws java.rmi.RemoteException,
PlatformSupportServiceException
ableplatform.preferences and
the file's location is at the place specified by the system
property able.prefdir.
theSecureKey - Used when security is on to make sure that the caller
is authentic and has the authority to perform the
operation; may be null when security is off.
java.rmi.RemoteException - On any RMI error.
PlatformSupportServiceException - On any platform support error.
public void refreshPlatformPreferences(AblePlatformPreferences thePlatformPreferences,
AbleSecureKey theSecureKey)
throws java.rmi.RemoteException,
PlatformSupportServiceException
Note that when security is enabled, this method ultimately has no effect, because the AblePlatformPreference class is not currently able to verify and authorise callers; therefore it ignores calls that can be used to alter the platform in a malicious way.
thePlatformPreferences - A platform preference object containing a new set of
preferences.theSecureKey - Used when security is on to make sure that the caller
is authentic and has the authority to perform the
operation; may be null when security is off.
java.rmi.RemoteException - On any RMI error.
PlatformSupportServiceException - On any platform support error.
public void refreshPlatformPreferencesFromFileLocalToAgentPool(java.lang.String theFileName,
AbleSecureKey theSecureKey)
throws java.rmi.RemoteException,
PlatformSupportServiceException
Note that when security is enabled, this method ultimately has no effect, because the AblePlatformPreference class is not currently able to verify and authorise callers; therefore it ignores calls that can be used to alter the platform in a malicious way.
theFileName - The complete name (including path) of a file that
contains a valid set of ABLE platform preference
specifications.theSecureKey - Used when security is on to make sure that the caller
is authentic and has the authority to perform the
operation; may be null when security is off.
java.rmi.RemoteException - On any RMI error.
PlatformSupportServiceException - On any platform support error.
public void refreshPlatformPreferencesFromFileLocalToService(java.lang.String theFileName,
AbleSecureKey theSecureKey)
throws java.rmi.RemoteException,
PlatformSupportServiceException
Note that when security is enabled, this method ultimately has no effect, because the AblePlatformPreference class is not currently able to verify and authorise callers; therefore it ignores calls that can be used to alter the platform in a malicious way.
theFileName - The complete name (including path) of a file that
contains a valid set of ABLE platform preference
specifications.theSecureKey - Used when security is on to make sure that the caller
is authentic and has the authority to perform the
operation; may be null when security is off.
java.rmi.RemoteException - On any RMI error.
PlatformSupportServiceException - On any platform support error.
|
ABLE 2.3.0 07/13/2005 14:21:00 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||