Examples of newServiceRef()


Examples of org.jboss.wsf.spi.serviceref.ServiceRefFactory.newServiceRef()

    public ManagedReference getReference() {
        final ClassLoader oldCL = WildFlySecurityManager.getCurrentContextClassLoaderPrivileged();
        try {
            WildFlySecurityManager.setCurrentContextClassLoaderPrivileged(classLoader);
            final ServiceRefFactory serviceRefFactory = getServiceRefFactory();
            return new ImmediateManagedReference(serviceRefFactory.newServiceRef(serviceRef));
        } finally {
            WildFlySecurityManager.setCurrentContextClassLoaderPrivileged(oldCL);
        }
    }
View Full Code Here

Examples of org.jboss.wsf.spi.serviceref.ServiceRefFactory.newServiceRef()

        final ClassLoader oldCL = getContextClassLoader();
        try {
            final ClassLoader integrationCL = new DelegateClassLoader(getClassLoader(), classLoader);
            setContextClassLoader(integrationCL);
            final ServiceRefFactory serviceRefFactory = getServiceRefFactory();
            return serviceRefFactory.newServiceRef(serviceRef);
        } finally {
            setContextClassLoader(oldCL);
        }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.