| Constructor and Description |
|---|
SingletonFactory(java.lang.Class<?> beanClass) |
SingletonFactory(Factory f) |
SingletonFactory(java.lang.Object bean) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
create(Exchange ex)
Creates the object that will be used for the invoke
|
void |
release(Exchange ex,
java.lang.Object o)
Post invoke, this is called to allow the factory to release
the object, store it, etc...
|
public SingletonFactory(java.lang.Object bean)
public SingletonFactory(java.lang.Class<?> beanClass)
public SingletonFactory(Factory f)
public java.lang.Object create(Exchange ex) throws java.lang.Throwable