eXo Kernel :: Container 2.5.0-GA

org.exoplatform.container.management
Class ManageableComponentAdapter<T>

java.lang.Object
  extended by org.exoplatform.container.AbstractComponentAdapter<T>
      extended by org.exoplatform.container.jmx.MX4JComponentAdapter<T>
          extended by org.exoplatform.container.management.ManageableComponentAdapter<T>
All Implemented Interfaces:
Serializable, javax.enterprise.context.spi.Contextual<T>, javax.enterprise.inject.spi.PassivationCapable, ComponentAdapter<T>

public class ManageableComponentAdapter<T>
extends MX4JComponentAdapter<T>

Version:
$Revision$
Author:
Julien Viet
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.exoplatform.container.jmx.MX4JComponentAdapter
exocontainer, instance_, isInitialized, isSingleton, lock, scope
 
Constructor Summary
ManageableComponentAdapter(ExoContainer holder, ConcurrentContainer container, Object key, Class<T> implementation)
           
 
Method Summary
 T create(javax.enterprise.context.spi.CreationalContext<T> creationalContext)
          
 void destroy(T instance, javax.enterprise.context.spi.CreationalContext<T> creationalContext)
          
protected  void register(Container co, Object instance)
           
 
Methods inherited from class org.exoplatform.container.jmx.MX4JComponentAdapter
create, createInstance, equals, getComponentInstance, getId, getScope, getSetMethod, hashCode, isSingleton, manageScope
 
Methods inherited from class org.exoplatform.container.AbstractComponentAdapter
checkTypeCompatibility, getComponentImplementation, getComponentKey, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ManageableComponentAdapter

public ManageableComponentAdapter(ExoContainer holder,
                                  ConcurrentContainer container,
                                  Object key,
                                  Class<T> implementation)
Method Detail

register

protected void register(Container co,
                        Object instance)

create

public T create(javax.enterprise.context.spi.CreationalContext<T> creationalContext)

Specified by:
create in interface javax.enterprise.context.spi.Contextual<T>
Overrides:
create in class MX4JComponentAdapter<T>

destroy

public void destroy(T instance,
                    javax.enterprise.context.spi.CreationalContext<T> creationalContext)

Specified by:
destroy in interface javax.enterprise.context.spi.Contextual<T>
Overrides:
destroy in class MX4JComponentAdapter<T>

eXo Kernel :: Container 2.5.0-GA

Copyright © 2014 eXo Platform SAS. All Rights Reserved.