public class DefaultLifecycleState extends Object implements LifecycleState, Serializable
Constructor and Description |
---|
DefaultLifecycleState() |
Modifier and Type | Method and Description |
---|---|
void |
disposed()
Turns the lifecycle state to completely disposed.
|
void |
disposing()
Turns the lifecycle state to indicate that the dispose() process is being
executed on the container.
|
boolean |
isConstructed()
Returns true if no other state has been triggered so far.
|
boolean |
isDisposed()
Checks if the current lifecycle is disposed.
|
boolean |
isStarted()
Checks if current lifecycle is started.
|
boolean |
isStopped()
Checks if the current lifecyle is stopped.
|
void |
removingComponent()
Lifecycle state for when a component is being removed.
|
void |
starting()
Start is normally allowed if the object is constructed or
already stopped.
|
void |
stopped()
Lifecycle state for when stop has been completed.
|
void |
stopping()
Lifecycle state for when the container is being stopped.
|
public DefaultLifecycleState()
public void removingComponent()
removingComponent
in interface LifecycleState
public void starting()
starting
in interface LifecycleState
public void stopping()
stopping
in interface LifecycleState
public void stopped()
stopped
in interface LifecycleState
public boolean isStarted()
isStarted
in interface LifecycleState
public void disposing()
disposing
in interface LifecycleState
public void disposed()
disposed
in interface LifecycleState
public boolean isDisposed()
isDisposed
in interface LifecycleState
public boolean isStopped()
isStopped
in interface LifecycleState
public boolean isConstructed()
Copyright © 2003–2015 Codehaus. All rights reserved.