org.sape.carbon.core.component.lifecycle |
The lifecycle package contains the interfaces describing lifecycle functionality
for components. Lifecycle functionality exists primarily to support configuration
and management.
Requirements
Design
Discarded Alternatives
Related Technotes
Author Chris Herron, January 2002
Version $Revision: 1.7 $($Author: ghinkl $ / $Date: 2002/01/08 15:54:34
$)
Copyright 2002 Sapient
|
Java Source File Name | Type | Comment |
ComponentLifecycle.java | Interface |
ComponentLifecycle is a convenience that gathers all of the lifecycle
operations under one interface. |
ComponentUnavailableException.java | Class | Thrown when a request for service cannot be handled, due to the Component
being Stopped or Suspended. |
Configurable.java | Interface | The configure method must be implemented by all Components.
It provides a callback method for the container to push configuration data to
the component. |
DefaultLifecycleInterceptor.java | Class | This is the default implementation of the lifecycle interceptor interface. |
DefaultLifecycleInterceptorConfiguration.java | Interface | This configuration represents the configuration for the Default
implementation of the Lifecycle Interceptor. |
Destroyable.java | Interface | This interface should be implemented by Components that wish to provide a
callback method to participate in container destroy operations. |
Initializable.java | Interface | This interface should be implemented by Components that wish to provide a
callback method to participate in container initialize operations. |
InvalidStateException.java | Class | Indicates that the component is in an unexpected state. |
LifecycleException.java | Class | Levelized Exception describing all Exceptions throwable
within the Lifecycle package. |
LifecycleInterceptor.java | Interface | Defines the operations exposed by a lifecycle managing decorating filter. |
LifecycleInterceptorFactory.java | Class | LifecycleInterceptor defines the operations that should be provided by some
entity that manages the lifecycle of a component. |
LifecycleStateEnum.java | Class | LifecycleStateEnum defines the Enumeration of states that a Component can
have at any point in the Lifecycle. |
NonFatalStateTransitionException.java | Class | This exception should be thrown from lifecycle methods to signal that
even though an exception occured within the lifecycle method, the component
is still valid and the lifecycle interceptor should return the
component to its last good state. |
OperationNotSupportedException.java | Class | Indicates that the lifecycle operation requested is not supported by the
component. |
Startable.java | Interface | This interface should be implemented by Components that wish to
provide callback methods to participate in lifecycle start and stop
operations. |
StateTransitionException.java | Class | Indicates a failure to complete a lifecycle operation. |
Suspendable.java | Interface | This interface should be implemented by Components that require
(re)configurability. |