org.objectweb.fractal.julia.control.lifecycle
Interface ContentLifeCycleController


public interface ContentLifeCycleController

A component interface to control the life cycle of the content of container components. This interface is useful when a container and its encapsulated "user" component are merged into a single class. Indeed, in this case, the container class is generated as a sub class of the user component class, and may therefore override the life cycle management methods that may be provided by the user component (because both classes may implement the same LifeCycleController interface). In order to still be able to call the user component life cycle management methods from outside the component, two new methods are generated in the container class, that just calls the corresponding methods in the user component class (i.e., in the super class) with the super keyword.


Method Summary
 void startFcContent()
          Calls the startFc method on the component encapsulated in this container.
 void stopFcContent()
          Calls the stopFc method on the component encapsulated in this container.
 

Method Detail

startFcContent

void startFcContent()
                    throws IllegalLifeCycleException
Calls the startFc method on the component encapsulated in this container.

Throws:
IllegalLifeCycleException - if a problem occurs.

stopFcContent

void stopFcContent()
                   throws IllegalLifeCycleException
Calls the stopFc method on the component encapsulated in this container.

Throws:
IllegalLifeCycleException - if a problem occurs.