org.apache.cxf.annotations

## Class FactoryType.DEFAULT

- java.lang.Object
- - org.apache.cxf.annotations.FactoryType.DEFAULT

- All Implemented Interfaces:
    Factory
  Enclosing class:
    FactoryType

      public static final class FactoryType.DEFAULT
      extends Object
      implements Factory

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `FactoryType.DEFAULT()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `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...

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### FactoryType.DEFAULT

          public FactoryType.DEFAULT()

  - ### Method Detail

    - #### create

          public Object create(Exchange e)
                        throws Throwable

      Description copied from interface: `Factory`
      Creates the object that will be used for the invoke
      Specified by:
        `create` in interface `Factory`
      Throws:
        `Throwable`

    - #### release

          public void release(Exchange e,
                     Object o)

      Description copied from interface: `Factory`
      Post invoke, this is called to allow the factory to release the object, store it, etc...
      Specified by:
        `release` in interface `Factory`
        `o` - object created from the create method

Apache CXF