org.codehaus.plexus.component.builder
Class XBeanComponentBuilder

java.lang.Object
  extended by org.codehaus.plexus.component.builder.XBeanComponentBuilder
All Implemented Interfaces:
ComponentBuilder

public class XBeanComponentBuilder
extends java.lang.Object
implements ComponentBuilder


Nested Class Summary
static class XBeanComponentBuilder.RequirementRecipe
           
 
Constructor Summary
XBeanComponentBuilder()
           
XBeanComponentBuilder(ComponentManager componentManager)
           
 
Method Summary
 java.lang.Object build(ComponentDescriptor descriptor, org.codehaus.plexus.classworlds.realm.ClassRealm realm, ComponentBuildListener listener)
           
protected  java.lang.Object createComponentInstance(ComponentDescriptor descriptor, org.codehaus.plexus.classworlds.realm.ClassRealm realm)
           
 org.apache.xbean.recipe.ObjectRecipe createObjectRecipe(ComponentDescriptor descriptor, org.codehaus.plexus.classworlds.realm.ClassRealm realm)
           
protected  java.lang.String fromXML(java.lang.String elementName)
           
 ComponentManager getComponentManager()
           
protected  MutablePlexusContainer getContainer()
           
 void setComponentManager(ComponentManager componentManager)
           
protected  boolean shouldConfigure(ComponentDescriptor descriptor, org.codehaus.plexus.classworlds.realm.ClassRealm realm)
           
protected  void startComponentLifecycle(java.lang.Object component, org.codehaus.plexus.classworlds.realm.ClassRealm realm)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XBeanComponentBuilder

public XBeanComponentBuilder()

XBeanComponentBuilder

public XBeanComponentBuilder(ComponentManager componentManager)
Method Detail

getComponentManager

public ComponentManager getComponentManager()

setComponentManager

public void setComponentManager(ComponentManager componentManager)

getContainer

protected MutablePlexusContainer getContainer()

build

public java.lang.Object build(ComponentDescriptor descriptor,
                              org.codehaus.plexus.classworlds.realm.ClassRealm realm,
                              ComponentBuildListener listener)
                       throws ComponentInstantiationException,
                              ComponentLifecycleException
Specified by:
build in interface ComponentBuilder
Throws:
ComponentInstantiationException
ComponentLifecycleException

createComponentInstance

protected java.lang.Object createComponentInstance(ComponentDescriptor descriptor,
                                                   org.codehaus.plexus.classworlds.realm.ClassRealm realm)
                                            throws ComponentInstantiationException,
                                                   ComponentLifecycleException
Throws:
ComponentInstantiationException
ComponentLifecycleException

createObjectRecipe

public org.apache.xbean.recipe.ObjectRecipe createObjectRecipe(ComponentDescriptor descriptor,
                                                               org.codehaus.plexus.classworlds.realm.ClassRealm realm)
                                                        throws ComponentInstantiationException,
                                                               PlexusConfigurationException
Throws:
ComponentInstantiationException
PlexusConfigurationException

shouldConfigure

protected boolean shouldConfigure(ComponentDescriptor descriptor,
                                  org.codehaus.plexus.classworlds.realm.ClassRealm realm)

fromXML

protected java.lang.String fromXML(java.lang.String elementName)

startComponentLifecycle

protected void startComponentLifecycle(java.lang.Object component,
                                       org.codehaus.plexus.classworlds.realm.ClassRealm realm)
                                throws ComponentLifecycleException
Throws:
ComponentLifecycleException


Copyright © 2001-2008 Codehaus. All Rights Reserved.