Package | Description |
---|---|
oracle.jdeveloper.server.lifecycle | |
oracle.jdeveloper.server.lifecycle.ide | |
oracle.jdeveloper.server.lifecycle.spi |
Modifier and Type | Method and Description |
---|---|
InstanceInfo |
LifecycleEvent.getInstanceInfo()
The instance with which this event is associated.
|
InstanceInfo |
InstanceController.getInstanceInfo()
Returns the Server Instance managed by this controller.
|
Modifier and Type | Method and Description |
---|---|
static InstanceController |
LifecycleManager.findOrCreateController(InstanceInfo instance)
Returns a controller tailored to manage the lifecycle of a particular instance.
|
protected abstract InstanceController |
LifecycleManager.getControllerImpl(InstanceInfo instance) |
protected abstract void |
LifecycleManager.releaseControllerImpl(InstanceInfo instance) |
Constructor and Description |
---|
LifecycleEvent(InstanceInfo instance, java.lang.Object newStatus, java.lang.Object oldStatus, Context context, java.util.logging.Logger logger) |
Modifier and Type | Method and Description |
---|---|
InstanceInfo |
ServerInstanceInfo.getInstanceInfo() |
Modifier and Type | Method and Description |
---|---|
abstract Context |
IdeLifecycleManager.createInstanceContext(Context context, InstanceInfo serverInfo, JRunProcess process) |
abstract ServerInstanceInfo |
IdeLifecycleManager.createServerInstanceInfo(InstanceInfo instanceInfo) |
abstract ServerInstanceInfo |
IdeLifecycleManager.getActiveServerInfo(InstanceInfo instanceInfo) |
abstract ServerInstanceInfo |
IdeLifecycleManager.getServerInstanceInfo(InstanceInfo instanceInfo) |
abstract boolean |
IdeLifecycleManager.isActive(InstanceInfo serverInfo) |
abstract boolean |
IdeLifecycleManager.isStarted(InstanceInfo serverInfo)
Checks if the server is running.
|
abstract boolean |
IdeLifecycleManager.isStartedWithContext(InstanceInfo serverInfo, Context contextToCheck)
Checks if the server is started with a context thats 'compatible' with the context passed in.
|
abstract boolean |
IdeLifecycleManager.isStopped(InstanceInfo serverInfo) |
abstract boolean |
IdeLifecycleManager.restart(InstanceInfo instanceInfo, Context context) |
abstract boolean |
IdeLifecycleManager.start(InstanceInfo serverInfo, Context context)
Starts with the specified context.
|
abstract boolean |
IdeLifecycleManager.stop(InstanceInfo instanceInfo)
Stop a server Instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Controller.canHandle(InstanceInfo instance)
Return true if this controller can be used for managing the given ADRS instance.
|
boolean |
Controller.canTransition(java.lang.Object targetStatus, InstanceInfo instance, Context context, java.lang.Object memento)
Return true if the transition to targetStatus can be made from current status.
|
void |
Controller.doTransition(java.lang.Object targetStatus, java.lang.Object errorStatus, InstanceInfo instance, Context context, long timeout, java.lang.Object memento)
Start, stop the server, or otherwise, bring it to requested status.
|
java.lang.Object |
Controller.getCurrentStatus(InstanceInfo instance, java.lang.Object memento)
Get the latest status of the instance.
|
java.lang.Object |
Controller.getLastKnownStatus(InstanceInfo instance, java.lang.Object memento)
Returns cached value from last call to getCurrentStatus.
|
java.lang.Object |
Controller.initialize(InstanceController icontroller, InstanceInfo instance)
Initialize controller for an InstanceInfo.
|
void |
Controller.release(InstanceInfo instance, java.lang.Object memento)
Signals end of association of the controller with the instance.
|