org.xwiki.component.embed
Class ComposableLifecycleHandler

java.lang.Object
  extended by org.xwiki.component.embed.ComposableLifecycleHandler
All Implemented Interfaces:
LifecycleHandler

public class ComposableLifecycleHandler
extends Object
implements LifecycleHandler

Handles lifecycle for Composable.

Since:
3.2RC1
Version:
$Id: e7cda5e42b38668532b27ffe0090a631949905de $

Constructor Summary
ComposableLifecycleHandler()
           
 
Method Summary
<T> void
handle(T instance, ComponentDescriptor<T> descriptor, ComponentManager componentManager)
          Handle initialization of the passed component instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComposableLifecycleHandler

public ComposableLifecycleHandler()
Method Detail

handle

public <T> void handle(T instance,
                       ComponentDescriptor<T> descriptor,
                       ComponentManager componentManager)
Description copied from interface: LifecycleHandler
Handle initialization of the passed component instance.

Specified by:
handle in interface LifecycleHandler
Type Parameters:
T - the type of the Component
Parameters:
instance - the component instance to initialize
descriptor - the descriptor of the passed component
componentManager - the component manager which is initializing the Component


Copyright © 2004-2013 XWiki. All Rights Reserved.