com.sapportals.wcm.crt.component
Interface IStartable
[contained in: com.sap.netweaver.bc.crt.par - bc.crt_api.jar]
- All Known Subinterfaces:
- IAutoStartable
- All Known Implementing Classes:
- AbstractManager, AbstractFilterManager, AbstractService
- public interface IStartable
A component must implement this interface if it has to acquire/release
resources in order to execute its service methods. The stop() method will be
called only once during the life-time of a component. The start() method will
be called once - or multible times if the components implements IAutoStartable.
Copyright (c) SAP AG 2001-2002
|
Method Summary |
void |
start()
A component must implement this method if it has initial startup handling
to do before being accessible (acquire resources, open connections to
remote systems, etc). |
void |
stop()
This method is only called once during the life-time of a component. |
start
public void start()
throws StartupException
- A component must implement this method if it has initial startup handling
to do before being accessible (acquire resources, open connections to
remote systems, etc). This method is only called once during the life-time
of a component except an
AutoRestartException was thrown.
- Throws:
StartupException - If the initialization failed because neccessary
resources could not be allocated.
stop
public void stop()
- This method is only called once during the life-time of a component. It is
called by the CRT when the component was removed from the configuration or
the system shuts down. A stopped component can not be (re)started. After a
shutdown the component instance will be finalized by the Java VM as soon as
no other components in the system holds a reference to it.
Copyright © 2004 by
SAP AG. All Rights Reserved.
SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein
as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other
countries all over the world. All other product and service names mentioned are the trademarks of their respective companies.
Data contained in this document serves informational purposes only. National product specifications may vary.
These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies
("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be
liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are
those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein
should be construed as constituting an additional warranty.