|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.avalon.excalibur.testcase.FullLifecycleComponent
This test class is used to test the AbstractComponent facilities for you.
| Constructor Summary | |
FullLifecycleComponent()
Deprecated. |
|
| Method Summary | |
void |
configure(Configuration config)
Deprecated. Pass the Configuration to the Configurable
class. |
void |
contextualize(Context context)
Deprecated. Pass the Context to the component. |
void |
dispose()
Deprecated. The dispose operation is called at the end of a components lifecycle. |
void |
enableLogging(Logger logger)
Deprecated. Provide component with a logger. |
void |
initialize()
Deprecated. Initialize the component. |
void |
parameterize(Parameters params)
Deprecated. Provide component with parameters. |
void |
resume()
Deprecated. Resumes the component. |
void |
service(ServiceManager manager)
Deprecated. Pass the ServiceManager to the Serviceable. |
void |
start()
Deprecated. Starts the component. |
void |
stop()
Deprecated. Stops the component. |
void |
suspend()
Deprecated. Suspends the component. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FullLifecycleComponent()
| Method Detail |
public void enableLogging(Logger logger)
LogEnabled
enableLogging in interface LogEnabledlogger - the logger. Must not be null.
public void contextualize(Context context)
throws ContextException
Contextualizable
contextualize in interface Contextualizablecontext - the context. Must not be null.
ContextException - if context is invalid
public void parameterize(Parameters params)
throws ParameterException
Parameterizable
parameterize in interface Parameterizableparams - the parameters. Must not be null.
ParameterException - if parameters are invalid
public void configure(Configuration config)
throws ConfigurationException
ConfigurableConfiguration to the Configurable
class.
configure in interface Configurableconfig - the class configurations. Must not be null.
ConfigurationException - if an error occurs
public void service(ServiceManager manager)
throws ServiceException
ServiceableServiceManager to the Serviceable.
The Serviceable implementation should use the specified
ServiceManager to acquire the components it needs for
execution.
service in interface Serviceablemanager - The ServiceManager which this
Serviceable uses. Must not be null.
ServiceException - if an error occurs
public void initialize()
throws java.lang.Exception
Initializable
initialize in interface Initializablejava.lang.Exception - if an error occurs
public void start()
throws java.lang.Exception
Startable
start in interface Startablejava.lang.Exception - if Component can not be startedpublic void suspend()
Suspendable
suspend in interface Suspendablepublic void resume()
Suspendable
resume in interface Suspendable
public void stop()
throws java.lang.Exception
Startable
stop in interface Startablejava.lang.Exception - if the Component can not be Stopped.public void dispose()
Disposable
dispose in interface Disposable
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||