Class XBeanComponentBuilder<T>
java.lang.Object
org.codehaus.plexus.component.builder.XBeanComponentBuilder<T>
- All Implemented Interfaces:
ComponentBuilder<T>
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild
(ComponentDescriptor<T> descriptor, org.codehaus.plexus.classworlds.realm.ClassRealm realm, ComponentBuildListener listener) protected T
createComponentInstance
(ComponentDescriptor<T> descriptor, org.codehaus.plexus.classworlds.realm.ClassRealm realm) org.apache.xbean.recipe.ObjectRecipe
createObjectRecipe
(T instance, ComponentDescriptor<T> descriptor, org.codehaus.plexus.classworlds.realm.ClassRealm realm) protected String
protected MutablePlexusContainer
void
setComponentManager
(ComponentManager<T> componentManager) protected boolean
shouldConfigure
(ComponentDescriptor<T> descriptor) protected void
startComponentLifecycle
(Object component, org.codehaus.plexus.classworlds.realm.ClassRealm realm)
-
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:
build
in interfaceComponentBuilder<T>
- Throws:
ComponentInstantiationException
ComponentLifecycleException
-
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
-