|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Provides methods for retrieving runtime information about a server instance and for transitioning a server from one state to another.
Fields inherited from class weblogic.management.runtime.ServerStates |
ACTIVATE_LATER,
FAILED,
FAILED_NOT_RESTARTABLE,
FAILED_RESTARTING,
RESUMING,
RUNNING,
SHUTDOWN,
SHUTDOWN_IN_PROCESS,
SHUTDOWN_PENDING,
SHUTTING_DOWN,
STANDBY,
STARTING,
SUSPENDING,
UNKNOWN |
Method Summary | |
void |
forceShutdown()
Force shutdown the server. |
long |
getActivationTime()
Return the time when the server was started. |
int |
getAdministrationPort()
Return the administration port on which this server is listening for |
java.lang.String |
getAdminServerHost()
Return the address on which admin server is listening for connections. |
int |
getAdminServerListenPort()
Return the port on which admin server is listening for connections. |
ClusterRuntimeMBean |
getClusterRuntime()
Return an mbean which represents this server's view of its cluster, if any. |
java.lang.String |
getCurrentDirectory()
Returns the absolute path of the Server's "user.dir" or in other words the directory from which the server was started. |
weblogic.health.HealthState |
getHealthState()
For Server Health Monitoring. |
java.lang.String |
getJVMID()
Return the JVMID of the server. |
JVMRuntimeMBean |
getJVMRuntime()
Return the JVMRuntimeMBean for this server. |
java.lang.String |
getListenAddress()
Return the address on which this server is listening for connections. |
int |
getListenPort()
Return the port on which this server is listening for connections. |
int |
getOpenSocketsCurrentCount()
Return the current number sockets registered for socket muxing on this server. |
int |
getRestartsTotalCount()
Return the total number of restarts for this server since the cluster was last activated. |
ServerSecurityRuntimeMBean |
getServerSecurityRuntime()
Return the ServerSecurityRuntimeMBean for this server. |
long |
getSocketsOpenedTotalCount()
Return the total number of registrations for socket muxing on this sever. |
java.lang.String |
getSSLListenAddress()
Return the address on which this server is listening for connections. |
int |
getSSLListenPort()
Return the port on which this server is listening for SSL connections. |
java.lang.String |
getState()
Returns current state of the server. |
java.lang.String |
getWeblogicVersion()
Return the version of the server |
boolean |
isAdministrationPortEnabled()
Return if the administrationPort is enabled on the server |
boolean |
isAdminServer()
Checks if the server is an administrator server. |
boolean |
isAdminServerListenPortSecure()
Return the secureType on which admin server is listening for connections. |
boolean |
isListenPortEnabled()
Return if the default listenPort is enabled on the server |
boolean |
isSSLListenPortEnabled()
Return if the default lSSListenPort is enabled on the server |
void |
setHealthState(int state,
java.lang.String reason)
For Server Health Monitoring. |
void |
shutdown()
Gracefully shutdown the server after handling inflight work. |
void |
shutdown(int timeout,
boolean ignoreSessions)
Gracefully shutdown the server after handling inflight work. |
void |
start()
Deprecated. In a future release, the lock/unlock feature will be replaced by a suspend/resume feature. |
Methods inherited from interface weblogic.management.WebLogicMBean |
getMBeanInfo,
getName,
getObjectName,
getParent,
getType,
isCachingDisabled,
isRegistered,
setName,
setParent |
Methods inherited from interface javax.management.DynamicMBean |
getAttribute,
getAttributes,
invoke,
setAttribute,
setAttributes |
Methods inherited from interface javax.management.MBeanRegistration |
postDeregister,
postRegister,
preRegister |
Methods inherited from interface javax.management.NotificationBroadcaster |
addNotificationListener,
getNotificationInfo,
removeNotificationListener |
Method Detail |
public void start()
Servers can be locked with the java weblogic.Admin LOCK
command. In a locked state, a server instance accepts only administrative
logins.
public void shutdown() throws weblogic.server.ServerLifecycleException
shutdown(int, boolean)
public void shutdown(int timeout, boolean ignoreSessions) throws weblogic.server.ServerLifecycleException
timeout
- Number of seconds to wait before aborting
inflight work and shutting down the server.ignoreSessions
- true
indicates ignore pending
HTTP sessions during inflight work handling.public void forceShutdown() throws weblogic.server.ServerLifecycleException
public java.lang.String getState()
ServerStates
public long getActivationTime()
public java.lang.String getListenAddress()
public int getListenPort()
public int getSSLListenPort()
public int getAdministrationPort()
public java.lang.String getSSLListenAddress()
public java.lang.String getJVMID()
public int getOpenSocketsCurrentCount()
public int getRestartsTotalCount()
public long getSocketsOpenedTotalCount()
public java.lang.String getWeblogicVersion()
public JVMRuntimeMBean getJVMRuntime()
public ServerSecurityRuntimeMBean getServerSecurityRuntime()
public ClusterRuntimeMBean getClusterRuntime()
public java.lang.String getAdminServerHost()
public int getAdminServerListenPort()
public boolean isAdminServerListenPortSecure()
public boolean isListenPortEnabled()
public boolean isSSLListenPortEnabled()
public boolean isAdministrationPortEnabled()
public weblogic.health.HealthState getHealthState()
public void setHealthState(int state, java.lang.String reason)
state
- The new healthState valuereason
- The new healthState valuepublic boolean isAdminServer()
public java.lang.String getCurrentDirectory()
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs81 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |