public class MX4JComponentAdapterMT<T> extends MX4JComponentAdapter<T> implements DependencyStackListener, ComponentAdapterDependenciesAware<T>
exocontainer, instance_, isInitialized, isSingleton, lock, scope| Constructor and Description |
|---|
MX4JComponentAdapterMT(ExoContainer holder,
ConcurrentContainerMT container,
Object key,
Class<T> implementation) |
| Modifier and Type | Method and Description |
|---|---|
void |
callDependency(ComponentTask<?> task,
Dependency dep)
Used to trigger an action in case we are trying to call a dependency
|
protected T |
create()
Must be used to create Singleton or Prototype only
|
T |
create(javax.enterprise.context.spi.CreationalContext<T> creationalContext) |
protected T |
createInstance(javax.enterprise.context.spi.Context ctx) |
protected T |
doCreate()
Must be used to create Singleton or Prototype only
|
protected T |
doCreate(boolean useSharedMemory)
Must be used to create Singleton or Prototype only
|
Collection<Dependency> |
getCreateDependencies()
Gives the create dependencies of the component
|
protected ComponentTask<T> |
getCreateTask() |
Collection<Dependency> |
getInitDependencies()
Gives the initialization dependencies of the component
|
protected Collection<ComponentTask<Void>> |
getInitTasks() |
protected void |
setCreateDependencies(List<Dependency> lDependencies) |
destroy, equals, getComponentInstance, getId, getScope, getSetMethod, hashCode, isSingleton, manageScopecheckTypeCompatibility, getComponentImplementation, getComponentKey, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetComponentImplementation, getComponentInstance, getComponentKey, isSingletonpublic MX4JComponentAdapterMT(ExoContainer holder, ConcurrentContainerMT container, Object key, Class<T> implementation)
public Collection<Dependency> getCreateDependencies()
getCreateDependencies in interface ComponentAdapterDependenciesAware<T>Collection of Dependency objects representing the
dependencies of the component for the creation phasepublic Collection<Dependency> getInitDependencies()
getInitDependencies in interface ComponentAdapterDependenciesAware<T>Collection of Dependency objects representing the
dependencies of the component for the initialization phasepublic void callDependency(ComponentTask<?> task, Dependency dep)
callDependency in interface DependencyStackListenerprotected ComponentTask<T> getCreateTask()
protected void setCreateDependencies(List<Dependency> lDependencies)
protected Collection<ComponentTask<Void>> getInitTasks()
protected T createInstance(javax.enterprise.context.spi.Context ctx)
createInstance in class MX4JComponentAdapter<T>protected T create()
create in class MX4JComponentAdapter<T>protected T doCreate()
protected T doCreate(boolean useSharedMemory)
Copyright © 2020 eXo Platform SAS. All Rights Reserved.