com.sapportals.wcm.crt.component

Interface IStartable

All Known Subinterfaces:
IAutoStartable, IRidIdService
All Known Implementing Classes:
AbstractContentFilterManager, AbstractContentFilterManager2, AbstractFilterManager, AbstractManager, AbstractNamespaceFilterManager, AbstractNamespaceFilterManagerEnums, AbstractPropertyFilterManager, AbstractRepositoryService, AbstractRidFilterManager, AbstractService, AbstractUriFilterManager, WastebasketService

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.
 

Method Detail

start

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

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.

Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] KMC-CM [sap.com] tc/km/frwk api EP-KM-CM
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM


Copyright 2014 SAP AG Complete Copyright Notice