public interface Factory
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
create(Exchange e)
Creates the object that will be used for the invoke
|
void |
release(Exchange e,
java.lang.Object o)
Post invoke, this is called to allow the factory to release
the object, store it, etc...
|
java.lang.Object create(Exchange e) throws java.lang.Throwable
e - java.lang.Throwablevoid release(Exchange e, java.lang.Object o)
e - o - object created from the create method