Methods Summary |
---|
public int | getConflictedPort(byte[] key)Obtain the port number that caused the port conflict. This should
be invoked only if Status is kInstaceFailedCode
|
public int | getServerStatusCode(byte[] key)Get server status code. This method will return one of the following
constants from class com.sun.enterprise.admin.common.Status
-- kInstanceStartingCode, kInstanceRunningCode or
kInstanceStoppingCode representing starting, running and stopping
condition for the instance.
|
public boolean | isRestartNeeded(byte[] key)Is restart needed to use persistent server configuration. After a
notification, the server may be in inconsistenet state with respect
to persistent configuration because all changes to configuration can
not be handled dynamically - A restart is needed in such cases to
synchronize server with persistent configuration.
|
public boolean | pingServer(byte[] key)Ping server.
|
public com.sun.enterprise.admin.event.AdminEventResult | sendNotification(byte[] key, com.sun.enterprise.admin.event.AdminEvent event)Send a event notification.
|
public void | setRestartNeeded(byte[] key, boolean needRestart)Set restart needed status on server instance.
|
public void | triggerServerExit(byte[] key)Trigger server exit now. This is applicable only for
AS Socket Service based startup now.
|