|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.gemini.blueprint.blueprint.container.SpringBlueprintContainer
public class SpringBlueprintContainer
Default BlueprintContainer implementation. Wraps Spring's ConfigurableListableBeanFactory in the
BlueprintContainer interface.
Note: This class does not fully implements the Blueprint contract: for example it does not fire any of the
Blueprint events nor performs exception handling - these concerns are left to the Blueprint extender.
| Constructor Summary | |
|---|---|
SpringBlueprintContainer(org.springframework.context.ConfigurableApplicationContext applicationContext)
|
|
| Method Summary | |
|---|---|
Set<String> |
getComponentIds()
Returns the set of component ids managed by this Blueprint Container. |
Object |
getComponentInstance(String name)
Return the component instance for the specified component id. |
ComponentMetadata |
getComponentMetadata(String name)
Return the Component Metadata object for the component with the specified component id. |
Collection<?> |
getMetadata(Class type)
Return all ComponentMetadata objects of the specified Component
Metadata type. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SpringBlueprintContainer(org.springframework.context.ConfigurableApplicationContext applicationContext)
| Method Detail |
|---|
public Object getComponentInstance(String name)
throws NoSuchComponentException
BlueprintContainer
getComponentInstance in interface BlueprintContainername - The component id for the requested component instance.
NoSuchComponentException - If no component with the specified
component id is managed by this Blueprint Container.
public ComponentMetadata getComponentMetadata(String name)
throws NoSuchComponentException
BlueprintContainer
getComponentMetadata in interface BlueprintContainername - The component id for the requested Component Metadata.
NoSuchComponentException - If no component with the specified
component id is managed by this Blueprint Container.public Set<String> getComponentIds()
BlueprintContainer
getComponentIds in interface BlueprintContainerpublic Collection<?> getMetadata(Class type)
BlueprintContainerComponentMetadata objects of the specified Component
Metadata type. The supported Component Metadata types are
ComponentMetadata (which returns the Component Metadata for all
defined manager types), BeanMetadata ,
ServiceReferenceMetadata (which returns both
ReferenceMetadata and ReferenceListMetadata objects), and
ServiceMetadata. The collection will include all Component
Metadata objects of the requested type, including components that are
declared inline.
getMetadata in interface BlueprintContainertype - The super type or type of the requested Component Metadata
objects.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||