|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.soa.esb.configure.Configurator
public class Configurator
Utility class for processing configuration annotations on an ESB Component class.
Code donated from Smooks project.
Constructor Summary | |
---|---|
Configurator()
|
Method Summary | ||
---|---|---|
static
|
configure(U instance,
ConfigTree config)
Configure the supplied object instance using the supplied ConfigTree instance. |
|
static
|
destroy(U instance)
|
|
static
|
initialise(U instance,
ConfigTree config)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Configurator()
Method Detail |
---|
public static <U> U configure(U instance, ConfigTree config) throws ConfigurationException
ConfigTree
instance.
instance
- The instance to be configured.config
- The configuration.
ConfigurationException
- Invalid field annotations.public static <U> void initialise(U instance, ConfigTree config) throws ActionLifecycleException
ActionLifecycleException
public static <U> void destroy(U instance) throws ActionLifecycleException
ActionLifecycleException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |