public InvocationHandler newInvocationHandler(InvocationType type) { InvocationHandler handler = null; switch(type) { case JAXRPC_JSE: handler = new DefaultInvocationHandlerJAXRPC(); break; case JAXRPC_EJB21: handler = new InvocationHandlerEJB21(); break; case JAXRPC_MDB21: handler = new InvocationHandlerMDB21(); break; case JAXWS_JSE: handler = new DefaultInvocationHandlerJAXWS(); break; case JAXWS_EJB21: handler = new InvocationHandlerEJB21(); break; case JAXWS_EJB3: handler = new InvocationHandlerEJB3(); } if(null == handler) throw new IllegalArgumentException("Unable to resolve spi.invocation.InvocationHandler for type " +type); return handler; }
public InvocationHandler newInvocationHandler(InvocationType type) { InvocationHandler handler = null; switch(type) { case JAXRPC_JSE: handler = new InvocationHandlerJAXRPC(); break; case JAXRPC_EJB21: handler = new InvocationHandlerEJB21(); break; case JAXRPC_MDB21: handler = new InvocationHandlerMDB21(); break; case JAXWS_JSE: handler = new InvocationHandlerJAXWS(); break; case JAXWS_EJB3: handler = new InvocationHandlerEJB3(); break; case JAXWS_MDB3: handler = new InvocationHandlerMDB3(); break; } if(null == handler) throw new IllegalArgumentException("Unable to resolve spi.invocation.InvocationHandler for type " +type); return handler; }
public InvocationHandler newInvocationHandler(InvocationType type) { InvocationHandler handler = null; switch(type) { case JAXRPC_JSE: handler = new InvocationHandlerJAXRPC(); break; case JAXRPC_EJB21: handler = new InvocationHandlerEJB21(); break; case JAXRPC_MDB21: handler = new InvocationHandlerMDB21(); break; case JAXWS_JSE: handler = new InvocationHandlerJAXWS(); break; case JAXWS_EJB3: handler = new InvocationHandlerEJB3(); break; case JAXWS_MDB3: handler = new InvocationHandlerMDB3(); break; } if(null == handler) throw new IllegalArgumentException("Unable to resolve spi.invocation.InvocationHandler for type " +type); return handler; }