2.4.6.2.2. Scheduling a container request life cycle

Scheduling a container triggers the component request life cyle of all the components that implement the interface ComponentRequestLifeCycle. If one of the component has already been scheduled before and then that component will not be scheduled again. When the local value is true, then the looked components will be those of the container, when it is false then the scheduler will also look at the components in the ancestor containers.

RequestLifeCycle.begin(container, local);

try
{
   // Do something
}
finally
{
   RequestLifeCycle.end();
}
Copyright ©2012. All rights reserved. eXo Platform SAS