Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Apache CXF API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.cxf.service.invoker
Interface Factory

All Known Implementing Classes:
  PerRequestFactory, PooledFactory, SessionFactory, SingletonFactory, SpringBeanFactory

    public interface Factory

Represents an object factory. Used at invoke time to find the object that the invokation will use

Method Summary
`Object` | `create(Exchange e)` Creates the object that will be used for the invoke
`void` | `release(Exchange e, Object o)` Post invoke, this is called to allow the factory to release the object, store it, etc...

Method Detail

### create

    Object create(Exchange e)
                  throws Throwable

  Creates the object that will be used for the invoke

  Parameters:
    `e` -
  Returns:
  Throws:
    `Throwable`

### release

    void release(Exchange e,
                 Object o)

  Post invoke, this is called to allow the factory to release the object, store it, etc...

  Parameters:
    `e` -
    `o` - object created from the create method

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Apache CXF API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Apache CXF