Class XBeanComponentBuilder<T>
java.lang.Object
org.codehaus.plexus.component.builder.XBeanComponentBuilder<T>
- All Implemented Interfaces:
ComponentBuilder<T>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ComponentManager<T>private static final ThreadLocal<LinkedHashSet<ComponentDescriptor<?>>> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild(ComponentDescriptor<T> descriptor, org.codehaus.plexus.classworlds.realm.ClassRealm realm, ComponentBuildListener listener) protected TcreateComponentInstance(ComponentDescriptor<T> descriptor, org.codehaus.plexus.classworlds.realm.ClassRealm realm) org.apache.xbean.recipe.ObjectRecipecreateObjectRecipe(T instance, ComponentDescriptor<T> descriptor, org.codehaus.plexus.classworlds.realm.ClassRealm realm) protected Stringprotected MutablePlexusContainerprivate voidprocessMapOrientedComponent(ComponentDescriptor<?> descriptor, MapOrientedComponent mapOrientedComponent, org.codehaus.plexus.classworlds.realm.ClassRealm realm) voidsetComponentManager(ComponentManager<T> componentManager) protected booleanshouldConfigure(ComponentDescriptor<T> descriptor) protected voidstartComponentLifecycle(Object component, org.codehaus.plexus.classworlds.realm.ClassRealm realm)
-
Field Details
-
STACK
-
componentManager
-
-
Constructor Details
-
XBeanComponentBuilder
public XBeanComponentBuilder() -
XBeanComponentBuilder
-
-
Method Details
-
getComponentManager
-
setComponentManager
-
getContainer
-
build
public T build(ComponentDescriptor<T> descriptor, org.codehaus.plexus.classworlds.realm.ClassRealm realm, ComponentBuildListener listener) throws ComponentInstantiationException, ComponentLifecycleException - Specified by:
buildin interfaceComponentBuilder<T>- Throws:
ComponentInstantiationExceptionComponentLifecycleException
-
createComponentInstance
protected T createComponentInstance(ComponentDescriptor<T> descriptor, org.codehaus.plexus.classworlds.realm.ClassRealm realm) throws ComponentInstantiationException, ComponentLifecycleException -
createObjectRecipe
public org.apache.xbean.recipe.ObjectRecipe createObjectRecipe(T instance, ComponentDescriptor<T> descriptor, org.codehaus.plexus.classworlds.realm.ClassRealm realm) throws ComponentInstantiationException, PlexusConfigurationException -
shouldConfigure
-
fromXML
-
startComponentLifecycle
protected void startComponentLifecycle(Object component, org.codehaus.plexus.classworlds.realm.ClassRealm realm) throws ComponentLifecycleException - Throws:
ComponentLifecycleException
-
processMapOrientedComponent
private void processMapOrientedComponent(ComponentDescriptor<?> descriptor, MapOrientedComponent mapOrientedComponent, org.codehaus.plexus.classworlds.realm.ClassRealm realm) throws ComponentConfigurationException, ComponentLookupException
-