|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.milyn.javabean.BeanInstanceCreator
public class BeanInstanceCreator
Bean instance creator visitor class.
| Field Summary | |
|---|---|
static String |
INIT_VAL_EXPRESSION
|
| Constructor Summary | |
|---|---|
BeanInstanceCreator()
Public default constructor. |
|
BeanInstanceCreator(String beanId,
Class<?> beanClass)
Public default constructor. |
|
BeanInstanceCreator(String beanId,
Class<T> beanClass,
Factory<? extends T> factory)
Public default constructor. |
|
| Method Summary | |
|---|---|
void |
executeVisitLifecycleCleanup(org.milyn.delivery.Fragment fragment,
org.milyn.container.ExecutionContext executionContext)
|
String |
getBeanId()
Get the beanId of this Bean configuration. |
BeanRuntimeInfo |
getBeanRuntimeInfo()
Get the bean runtime information. |
org.milyn.cdr.SmooksResourceConfiguration |
getConfig()
|
Set<? extends Object> |
getProducts()
|
void |
handle(org.milyn.delivery.ContentDeliveryConfigBuilderLifecycleEvent event)
|
void |
initialize()
Set the resource configuration on the bean populator. |
String |
toString()
|
void |
visitAfter(Element element,
org.milyn.container.ExecutionContext executionContext)
|
void |
visitAfter(org.milyn.container.ExecutionContext executionContext,
org.milyn.delivery.Fragment source)
|
void |
visitAfter(org.milyn.delivery.sax.SAXElement element,
org.milyn.container.ExecutionContext executionContext)
|
void |
visitBefore(Element element,
org.milyn.container.ExecutionContext executionContext)
|
void |
visitBefore(org.milyn.delivery.sax.SAXElement element,
org.milyn.container.ExecutionContext executionContext)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String INIT_VAL_EXPRESSION
| Constructor Detail |
|---|
public BeanInstanceCreator()
public BeanInstanceCreator(String beanId,
Class<?> beanClass)
beanId - The beanId under which the bean instance is registered in the bean context.beanClass - The bean runtime class.
public BeanInstanceCreator(String beanId,
Class<T> beanClass,
Factory<? extends T> factory)
beanId - The beanId under which the bean instance is registered in the bean context.beanClass - The bean runtime class.| Method Detail |
|---|
public String getBeanId()
public org.milyn.cdr.SmooksResourceConfiguration getConfig()
@Initialize
public void initialize()
throws org.milyn.cdr.SmooksConfigurationException
org.milyn.cdr.SmooksConfigurationException - Incorrectly configured resource.
public void handle(org.milyn.delivery.ContentDeliveryConfigBuilderLifecycleEvent event)
throws org.milyn.cdr.SmooksConfigurationException
handle in interface org.milyn.delivery.ContentDeliveryConfigBuilderLifecycleListenerorg.milyn.cdr.SmooksConfigurationExceptionpublic BeanRuntimeInfo getBeanRuntimeInfo()
public void visitBefore(Element element,
org.milyn.container.ExecutionContext executionContext)
throws org.milyn.SmooksException
visitBefore in interface org.milyn.delivery.dom.DOMVisitBeforeorg.milyn.SmooksException
public void visitBefore(org.milyn.delivery.sax.SAXElement element,
org.milyn.container.ExecutionContext executionContext)
throws org.milyn.SmooksException,
IOException
visitBefore in interface org.milyn.delivery.sax.SAXVisitBeforeorg.milyn.SmooksException
IOException
public void visitAfter(Element element,
org.milyn.container.ExecutionContext executionContext)
throws org.milyn.SmooksException
visitAfter in interface org.milyn.delivery.dom.DOMVisitAfterorg.milyn.SmooksException
public void visitAfter(org.milyn.delivery.sax.SAXElement element,
org.milyn.container.ExecutionContext executionContext)
throws org.milyn.SmooksException,
IOException
visitAfter in interface org.milyn.delivery.sax.SAXVisitAfterorg.milyn.SmooksException
IOException
public void visitAfter(org.milyn.container.ExecutionContext executionContext,
org.milyn.delivery.Fragment source)
public Set<? extends Object> getProducts()
getProducts in interface org.milyn.delivery.ordering.Producerpublic String toString()
toString in class Object
public void executeVisitLifecycleCleanup(org.milyn.delivery.Fragment fragment,
org.milyn.container.ExecutionContext executionContext)
executeVisitLifecycleCleanup in interface org.milyn.delivery.VisitLifecycleCleanable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||