FactoryType.DEFAULT (Apache CXF JavaDoc 4.2.1 API)
Description: declaration: package: org.apache.cxf.annotations, annotation type: FactoryType, class: DEFAULT

Package 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
  Description
  `DEFAULT()`

- ## Method Summary

  Modifier and Type
  Method
  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 Details

  - ### DEFAULT

    public DEFAULT()

- ## Method Details

  - ### 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`
    Parameters:
      `e` -
    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`
    Parameters:
      `e` -
      `o` - object created from the create method