Class PerRequestFactory

  • All Implemented Interfaces:
    Factory

    public class PerRequestFactory
    extends Object
    implements Factory
    Creates a new instance of the service object for each call to create().
    • Constructor Detail

      • PerRequestFactory

        public PerRequestFactory​(Class<?> svcClass)
    • Method Detail

      • release

        public void release​(Exchange ex,
                            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