|
eXo Kernel :: Container 2.5.0-GA | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use ComponentAdapter | |
|---|---|
| org.exoplatform.container | This package provides container API. |
| org.exoplatform.container.management | |
| org.exoplatform.container.spi | This package defines most important classes and interfaces, that should be used in case
you would like to implement a new Container. |
| Uses of ComponentAdapter in org.exoplatform.container |
|---|
| Fields in org.exoplatform.container with type parameters of type ComponentAdapter | |
|---|---|
protected Set<ComponentAdapter<?>> |
ConcurrentContainer.componentAdapters
|
protected ConcurrentMap<Object,ComponentAdapter<?>> |
ConcurrentContainer.componentKeyToAdapterCache
|
protected CopyOnWriteArrayList<ComponentAdapter<?>> |
ConcurrentContainer.orderedComponentAdapters
|
| Methods in org.exoplatform.container that return ComponentAdapter | ||
|---|---|---|
ComponentAdapter<?> |
ExoContainer.getComponentAdapter(Object componentKey)
Find a component adapter associated with the specified key. |
|
|
ExoContainer.getComponentAdapter(Object componentKey,
Class<T> bindType)
This method is equivalent to ExoContainer.getComponentAdapter(Object, Class, boolean) with true for the parameter
autoRegistration |
|
|
ConcurrentContainer.getComponentAdapter(Object componentKey,
Class<T> bindType,
boolean autoRegistration)
|
|
|
AbstractContainer.getComponentAdapter(Object componentKey,
Class<T> bindType,
boolean autoRegistration)
Find a component adapter associated with the specified key. |
|
|
ExoContainer.getComponentAdapter(Object componentKey,
Class<T> bindType,
boolean autoRegistration)
Find a component adapter associated with the specified key. |
|
|
ExoContainer.getComponentAdapterOfType(Class<T> componentType)
This method is equivalent to ExoContainer.getComponentAdapterOfType(Class, boolean) with true for the parameter
autoRegistration |
|
|
ConcurrentContainer.getComponentAdapterOfType(Class<T> componentType,
boolean autoRegistration)
|
|
|
AbstractContainer.getComponentAdapterOfType(Class<T> componentType,
boolean autoRegistration)
Find a component adapter associated with the specified type. |
|
|
CachingContainer.getComponentAdapterOfType(Class<T> componentType,
boolean autoRegistration)
|
|
|
ExoContainer.getComponentAdapterOfType(Class<T> componentType,
boolean autoRegistration)
Find a component adapter associated with the specified type. |
|
protected ComponentAdapter<?> |
ConcurrentContainer.registerComponent(ComponentAdapter<?> componentAdapter)
Register a component via a ComponentAdapter. |
|
|
ExoContainer.registerComponentImplementation(Class<T> componentImplementation)
Register a component using the componentImplementation as key. |
|
|
ConcurrentContainer.registerComponentImplementation(Object componentKey,
Class<T> componentImplementation)
Register a component. |
|
|
AbstractContainer.registerComponentImplementation(Object componentKey,
Class<T> componentImplementation)
Register a component. |
|
|
CachingContainer.registerComponentImplementation(Object componentKey,
Class<T> componentImplementation)
|
|
|
ConcurrentContainer.registerComponentInstance(Object componentKey,
T componentInstance)
Register an arbitrary object as a component in the container. |
|
|
AbstractContainer.registerComponentInstance(Object componentKey,
T componentInstance)
Register an arbitrary object as a component in the container. |
|
|
CachingContainer.registerComponentInstance(Object componentKey,
T componentInstance)
|
|
|
ExoContainer.registerComponentInstance(T componentInstance)
Register an arbitrary object. |
|
ComponentAdapter<?> |
ConcurrentContainer.unregisterComponent(Object componentKey)
|
|
ComponentAdapter<?> |
AbstractContainer.unregisterComponent(Object componentKey)
Unregister a component by key. |
|
ComponentAdapter<?> |
CachingContainer.unregisterComponent(Object componentKey)
|
|
| Methods in org.exoplatform.container that return types with arguments of type ComponentAdapter | ||
|---|---|---|
Collection<ComponentAdapter<?>> |
ConcurrentContainer.getComponentAdapters()
|
|
Collection<ComponentAdapter<?>> |
AbstractContainer.getComponentAdapters()
Retrieve all the component adapters inside this container. |
|
|
ConcurrentContainer.getComponentAdaptersOfType(Class<T> componentType)
|
|
|
AbstractContainer.getComponentAdaptersOfType(Class<T> componentType)
Retrieve all component adapters inside this container that are associated with the specified type. |
|
|
CachingContainer.getComponentAdaptersOfType(Class<T> componentType)
|
|
| Methods in org.exoplatform.container with parameters of type ComponentAdapter | ||
|---|---|---|
protected void |
ConcurrentContainer.addOrderedComponentAdapter(ComponentAdapter<?> componentAdapter)
|
|
protected
|
ConcurrentContainer.getComponentInstanceFromContext(ComponentAdapter<T> componentAdapter,
Class<T> bindType)
Gets the component instance from the context |
|
protected
|
ConcurrentContainer.getInstance(ComponentAdapter<T> componentAdapter,
Class<T> type,
boolean autoRegistration)
|
|
protected ComponentAdapter<?> |
ConcurrentContainer.registerComponent(ComponentAdapter<?> componentAdapter)
Register a component via a ComponentAdapter. |
|
| Uses of ComponentAdapter in org.exoplatform.container.management |
|---|
| Methods in org.exoplatform.container.management that return ComponentAdapter | ||
|---|---|---|
|
ManageableComponentAdapterFactory.createComponentAdapter(Object componentKey,
Class<T> componentImplementation)
|
|
|
ManageableContainer.registerComponentInstance(Object componentKey,
T componentInstance)
Register an arbitrary object as a component in the container. |
|
ComponentAdapter<?> |
ManageableContainer.unregisterComponent(Object componentKey)
Unregister a component by key. |
|
| Uses of ComponentAdapter in org.exoplatform.container.spi |
|---|
| Methods in org.exoplatform.container.spi that return ComponentAdapter | ||
|---|---|---|
|
ComponentAdapterFactory.createComponentAdapter(Object componentKey,
Class<T> componentImplementation)
Create a new component adapter based on the specified arguments. |
|
|
Container.getComponentAdapter(Object componentKey,
Class<T> bindType,
boolean autoRegistration)
Find a component adapter associated with the specified key. |
|
|
Container.getComponentAdapterOfType(Class<T> componentType,
boolean autoRegistration)
Find a component adapter associated with the specified type. |
|
|
Container.registerComponentImplementation(Object componentKey,
Class<T> componentImplementation)
Register a component. |
|
|
Container.registerComponentInstance(Object componentKey,
T componentInstance)
Register an arbitrary object as a component in the container. |
|
ComponentAdapter<?> |
Container.unregisterComponent(Object componentKey)
Unregister a component by key. |
|
| Methods in org.exoplatform.container.spi that return types with arguments of type ComponentAdapter | ||
|---|---|---|
Collection<ComponentAdapter<?>> |
Container.getComponentAdapters()
Retrieve all the component adapters inside this container. |
|
|
Container.getComponentAdaptersOfType(Class<T> componentType)
Retrieve all component adapters inside this container that are associated with the specified type. |
|
|
eXo Kernel :: Container 2.5.0-GA | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||