| Package | Description |
|---|---|
| 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. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractComponentAdapter.checkTypeCompatibility() |
<T> ComponentAdapter<T> |
ConcurrentContainer.getComponentAdapter(Object componentKey,
Class<T> bindType,
boolean autoRegistration) |
Object |
RootContainer.getComponentInstance(Object componentKey)
Retrieve a component instance registered with a specific key.
|
<T> T |
CachingContainer.getComponentInstance(Object componentKey,
Class<T> bindType,
boolean autoRegistration) |
<T> T |
ConcurrentContainer.getComponentInstance(Object componentKey,
Class<T> bindType,
boolean autoRegistration) |
List<Object> |
ConcurrentContainer.getComponentInstances() |
<T> List<T> |
CachingContainer.getComponentInstancesOfType(Class<T> componentType) |
<T> List<T> |
ConcurrentContainer.getComponentInstancesOfType(Class<T> componentType) |
<T> List<T> |
AbstractContainer.getComponentInstancesOfType(Class<T> componentType)
Returns a List of components of a certain componentType.
|
Set<String> |
ExoContainer.getRegisteredComponentNames() |
protected ComponentAdapter<?> |
ConcurrentContainer.registerComponent(ComponentAdapter<?> componentAdapter)
Register a component via a ComponentAdapter.
|
<T> ComponentAdapter<T> |
ExoContainer.registerComponentImplementation(Class<T> componentImplementation)
Register a component using the componentImplementation as key.
|
<T> ComponentAdapter<T> |
CachingContainer.registerComponentImplementation(Object componentKey,
Class<T> componentImplementation) |
<T> ComponentAdapter<T> |
ConcurrentContainer.registerComponentImplementation(Object componentKey,
Class<T> componentImplementation)
Register a component.
|
<T> ComponentAdapter<T> |
AbstractContainer.registerComponentImplementation(Object componentKey,
Class<T> componentImplementation)
Register a component.
|
<T> ComponentAdapter<T> |
CachingContainer.registerComponentInstance(Object componentKey,
T componentInstance) |
<T> ComponentAdapter<T> |
ConcurrentContainer.registerComponentInstance(Object componentKey,
T componentInstance)
Register an arbitrary object as a component in the container.
|
<T> ComponentAdapter<T> |
AbstractContainer.registerComponentInstance(Object componentKey,
T componentInstance)
Register an arbitrary object as a component in the container.
|
<T> ComponentAdapter<T> |
ExoContainer.registerComponentInstance(T componentInstance)
Register an arbitrary object.
|
| Constructor and Description |
|---|
AbstractComponentAdapter(Object componentKey,
Class<T> componentImplementation)
Constructs a new ComponentAdapter for the given key and implementation.
|
InstanceComponentAdapter(Object componentKey,
T componentInstance) |
| Modifier and Type | Method and Description |
|---|---|
<T> ComponentAdapter<T> |
ManageableComponentAdapterFactory.createComponentAdapter(Object componentKey,
Class<T> componentImplementation) |
<T> ComponentAdapter<T> |
ManageableContainer.registerComponentInstance(Object componentKey,
T componentInstance)
Register an arbitrary object as a component in the container.
|
| Modifier and Type | Method and Description |
|---|---|
<T> ComponentAdapter<T> |
ComponentAdapterFactory.createComponentAdapter(Object componentKey,
Class<T> componentImplementation)
Create a new component adapter based on the specified arguments.
|
T |
ComponentAdapter.getComponentInstance()
Retrieve the component instance.
|
<T> List<T> |
Container.getComponentInstancesOfType(Class<T> componentType)
Returns a List of components of a certain componentType.
|
<T> ComponentAdapter<T> |
Container.registerComponentImplementation(Object componentKey,
Class<T> componentImplementation)
Register a component.
|
<T> ComponentAdapter<T> |
Container.registerComponentInstance(Object componentKey,
T componentInstance)
Register an arbitrary object as a component in the container.
|
Copyright © 2018 eXo Platform SAS. All Rights Reserved.