Package com.sun.xml.ws.api.server

Examples of com.sun.xml.ws.api.server.InstanceResolver


                        endpoint.getProtocolBinding(), binding);

                    // See if it is configured with JAX-WS extension InstanceResolver annotation like
                    // @com.sun.xml.ws.developer.servlet.HttpSessionScope or @com.sun.xml.ws.developer.Stateful
                    // #GLASSFISH-21081
                    InstanceResolver ir = InstanceResolver.createFromInstanceResolverAnnotation(clazz);
                    //TODO - Implement 109 StatefulInstanceResolver ??
                    if (ir == null) {
                        //use our own InstanceResolver that does not call @PostConstuct method before
                        //@Resource injections have happened.
                        ir = new InstanceResolverImpl(clazz);
                    }
                    // Create the jaxws2.1 invoker and use this
                    Invoker invoker = ir.createInvoker();
                    WSEndpoint wsep = WSEndpoint.create(
                            clazz, // The endpoint class
                            false, // we do not want JAXWS to process @HandlerChain
                            new EjbInvokerImpl(clazz, invoker, webServiceEndpointServant, wsCtxt), // the invoker
                            endpoint.getServiceName(), // the service QName
View Full Code Here

TOP

Related Classes of com.sun.xml.ws.api.server.InstanceResolver

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.