|
||||||||||
| 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.
Targeted viaBeanPopulator expansion configuration.
| 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 | |
|---|---|
String |
getBeanId()
Get the beanId of this Bean configuration. |
BeanRuntimeInfo |
getBeanRuntimeInfo()
Get the bean runtime information. |
Set<? extends Object> |
getProducts()
|
void |
initialize()
Set the resource configuration on the bean populator. |
String |
toString()
|
void |
visitAfter(Element element,
ExecutionContext executionContext)
|
void |
visitAfter(ExecutionContext executionContext)
|
void |
visitAfter(SAXElement element,
ExecutionContext executionContext)
|
void |
visitBefore(Element element,
ExecutionContext executionContext)
|
void |
visitBefore(SAXElement element,
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()
@Initialize
public void initialize()
throws SmooksConfigurationException
SmooksConfigurationException - Incorrectly configured resource.public BeanRuntimeInfo getBeanRuntimeInfo()
public void visitBefore(Element element,
ExecutionContext executionContext)
throws SmooksException
visitBefore in interface DOMVisitBeforeSmooksException
public void visitBefore(SAXElement element,
ExecutionContext executionContext)
throws SmooksException,
IOException
visitBefore in interface SAXVisitBeforeSmooksException
IOException
public void visitAfter(Element element,
ExecutionContext executionContext)
throws SmooksException
visitAfter in interface DOMVisitAfterSmooksException
public void visitAfter(SAXElement element,
ExecutionContext executionContext)
throws SmooksException,
IOException
visitAfter in interface SAXVisitAfterSmooksException
IOExceptionpublic void visitAfter(ExecutionContext executionContext)
public Set<? extends Object> getProducts()
getProducts in interface Producerpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||