org.apache.sandesha.server
Class InvokerFactory

java.lang.Object
  extended byorg.apache.sandesha.server.InvokerFactory

public class InvokerFactory
extends java.lang.Object

Provides factory access to two main components of invoke layer.

The RMInvokerStrategy impl defines a strategy for executing, most likely in an asynchronous manner, web service invokes. This allows custom strategies to be configured for different containers (ie threadpools, work managers, etc.).

The InvokeHandler impl actually executes the web service invoke.

Author:
Patrick Collins

Constructor Summary
InvokerFactory()
           
 
Method Summary
 InvokeHandler createInvokeHandler()
           
 InvokeStrategy createInvokerStrategy()
          Create the RMInvokerStrategy impl.
static InvokerFactory getInstance()
          Getter for factory instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InvokerFactory

public InvokerFactory()
Method Detail

getInstance

public static InvokerFactory getInstance()
Getter for factory instance.


createInvokerStrategy

public InvokeStrategy createInvokerStrategy()
                                     throws java.lang.Exception
Create the RMInvokerStrategy impl.

Throws:
java.lang.Exception

createInvokeHandler

public InvokeHandler createInvokeHandler()
                                  throws java.lang.Exception
Throws:
java.lang.Exception