|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SystemComponentLifeCycleRuntimeMBean
Provides methods that transition system component from one state to another. This class is instantiated only on the Administration Server, but you can use it to transition the states of all managed system component servers.
To start system components, you must first configure a Node Manager on each component's host machine.
Field Summary |
---|
Fields inherited from interface weblogic.server.ServerStates |
---|
ACTIVATE_LATER, ADMIN, FAILED, FAILED_NOT_RESTARTABLE, FAILED_RESTARTING, FORCE_SHUTTING_DOWN, FORCE_SUSPENDING, RESUMING, RUNNING, SHUTDOWN, SHUTDOWN_IN_PROCESS, SHUTDOWN_PENDING, SHUTTING_DOWN, STANDBY, STARTING, SUSPENDING, UNKNOWN |
Method Summary | |
---|---|
abstract int |
getNodeManagerRestartCount() The number of times the server has been restarted using the Node Manager since its creation. |
abstract String |
getState() The current state of the server. |
abstract SystemComponentLifeCycleTaskRuntimeMBean[] |
getTasks() Gets pre-existing server life cycle tasks. |
abstract SystemComponentLifeCycleTaskRuntimeMBean |
lookupTask(String taskName) Gets a pre-existing server life cycle task by name. |
abstract SystemComponentLifeCycleTaskRuntimeMBean |
shutdown(Properties props) Uses Node Manager to shut down a system component. |
abstract SystemComponentLifeCycleTaskRuntimeMBean |
softRestart(Properties props) Uses Node Manager to signal a system component for softRestart. |
abstract SystemComponentLifeCycleTaskRuntimeMBean |
start(Properties props) Uses Node Manager to start a system component. |
Methods inherited from interface weblogic.management.runtime.RuntimeMBean |
---|
addPropertyChangeListener, removePropertyChangeListener |
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, preDeregister, preRegister |
Methods inherited from interface javax.management.NotificationBroadcaster |
---|
addNotificationListener, getNotificationInfo, removeNotificationListener |
Method Detail |
---|
SystemComponentLifeCycleTaskRuntimeMBean start(Properties props) throws ServerLifecycleException
Uses Node Manager to start a system component.
props
- properties to use when starting this system component. These properties are used by the nodemanager plugin.ServerLifecycleException
- If start operation failsSystemComponentLifeCycleTaskRuntimeMBean shutdown(Properties props) throws ServerLifecycleException
Uses Node Manager to shut down a system component.
props
- properties to use when shutting down this system component. These properties are used by the nodemanager plugin.ServerLifecycleException
- If shutdown fails. The server process will exit after ServerMBean.ServerLifeCycleTimeoutVal() seconds.SystemComponentLifeCycleTaskRuntimeMBean[] getTasks()
SystemComponentLifeCycleTaskRuntimeMBean lookupTask(String taskName)
taskName
- a string used to find a task of the same nameString getState()
The current state of the server.
Server states are described in "Managing Server Startup and Shutdown for Oracle WebLogic Server."int getNodeManagerRestartCount()
SystemComponentLifeCycleTaskRuntimeMBean softRestart(Properties props) throws ServerLifecycleException
Uses Node Manager to signal a system component for softRestart.
props
- properties to use when soft-restarting this system component. These properties are used by the nodemanager plugin.ServerLifecycleException
- If softRestart operation fails
|
Copyright 1996, 2015, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |