Interface ConstructorInjector

  • All Known Implementing Classes:
    ConstructorInjectorImpl

    public interface ConstructorInjector
    Version:
    $Revision: 1 $
    • Method Detail

      • construct

        java.lang.Object construct()
        construct outside the scope of an HTTP request. Useful for singleton factories
        Returns:
      • injectableArguments

        java.lang.Object[] injectableArguments()
        Create an arguments list from injectable tings outside the scope of an HTTP request. Useful for singleton factories in cases where the resource factory wants to allocate the object itself, but wants resteasy to populate the arguments
        Returns:
      • injectableArguments

        java.lang.Object[] injectableArguments​(HttpRequest request,
                                               HttpResponse response)
                                        throws Failure
        Create an argument list inside the scope of an HTTP request. Useful in cases where the resource factory wants to allocate the object itself, but wants resteasy to populate the arguments
        Parameters:
        request -
        response -
        Returns:
        Throws:
        Failure