|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JavaComponent
JavaComponent is a Java Component implementation used to
invoke Java component implementations. A JavaComponent uses an
ObjectFactory to specify the object instance's source and allows for
singleton and prototype implementations to be used along with other custom
ObjectFactory that allow component instances to be obtained from
containers such as Spring. A JavaComponent uses a customizable
EntryPointResolverSet in order to resolve which method should be used for
invocation and allows java bindings to be configure. Java Component bindings, if
implemented by the JavaComponent implementation, uses a component instance proxy
to implement interface methods using calls to outbound endpoints.
| Method Summary | |
|---|---|
EntryPointResolverSet |
getEntryPointResolverSet()
A JavaComponent can have a custom entry-point resolver for its own
object. |
List<InterfaceBinding> |
getInterfaceBindings()
|
LifecycleAdapterFactory |
getLifecycleAdapterFactory()
Returns the factory used create life-cycle adaptors that are used to wrap component instance. |
ObjectFactory |
getObjectFactory()
|
Class<?> |
getObjectType()
|
void |
setEntryPointResolverSet(EntryPointResolverSet entryPointResolverSet)
A JavaComponent can have a custom entry-point resolver for its own
object. |
void |
setInterfaceBindings(List<InterfaceBinding> bindgins)
|
void |
setLifecycleAdapterFactory(LifecycleAdapterFactory lifecycleAdaptor)
Sets the factory used create life-cycle adaptors that are used to wrap component instance. |
void |
setObjectFactory(ObjectFactory objectFactory)
The object factory used to obtain the component object instance. |
| Methods inherited from interface org.mule.api.component.Component |
|---|
getStatistics |
| Methods inherited from interface org.mule.api.processor.MessageProcessor |
|---|
process |
| Methods inherited from interface org.mule.api.construct.FlowConstructAware |
|---|
setFlowConstruct |
| Method Detail |
|---|
EntryPointResolverSet getEntryPointResolverSet()
JavaComponent can have a custom entry-point resolver for its own
object. By default this is null. When set this resolver will override the
resolver on the model
void setEntryPointResolverSet(EntryPointResolverSet entryPointResolverSet)
JavaComponent can have a custom entry-point resolver for its own
object. By default this is null. When set this resolver will override the
resolver on the model
List<InterfaceBinding> getInterfaceBindings()
void setInterfaceBindings(List<InterfaceBinding> bindgins)
void setObjectFactory(ObjectFactory objectFactory)
SingletonObjectFactory and
PrototypeObjectFactory.ObjectFactory implementation that delegates to spring. There is no
PooledObjectFactory, the PooledJavaComponent should be used for
pooling.
objectFactory - ObjectFactory getObjectFactory()
Class<?> getObjectType()
LifecycleAdapterFactory getLifecycleAdapterFactory()
void setLifecycleAdapterFactory(LifecycleAdapterFactory lifecycleAdaptor)
lifecycleAdaptor -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||