Package org.wildfly.security.manager.action

Examples of org.wildfly.security.manager.action.GetClassLoaderAction


        }
        this.classLoader = ejbComponentCreateService.getModuleClassLoader();
        this.suspendController = ejbComponentCreateService.getSuspendControllerInjectedValue().getValue();
        this.activationSpec = activationSpec;
        this.messageListenerInterface = messageListenerInterface;
        final ClassLoader componentClassLoader = doPrivileged(new GetClassLoaderAction(ejbComponentCreateService.getComponentClass()));
        final MessageEndpointService<?> service = new MessageEndpointService<Object>() {
            @Override
            public Class<Object> getMessageListenerInterface() {
                return (Class<Object>) messageListenerInterface;
            }
View Full Code Here


    private ClassLoader driverClassLoader() {
        if(classLoader != null) {
            return classLoader;
        }
        final Class<? extends Driver> clazz = driverValue.getValue().getClass();
        return ! WildFlySecurityManager.isChecking() ? clazz.getClassLoader() : doPrivileged(new GetClassLoaderAction(clazz));
    }
View Full Code Here

* @author <a href="kabir.khan@jboss.com">Kabir Khan</a>
*/
class SecurityActions {

    static ClassLoader getClassLoader(final Class<?> clazz) {
        return ! WildFlySecurityManager.isChecking() ? clazz.getClassLoader() : doPrivileged(new GetClassLoaderAction(clazz));
    }
View Full Code Here

    static ModuleClassLoader getModuleClassLoader() throws ModuleLoadException {
        if (! WildFlySecurityManager.isChecking()) {
            return (ModuleClassLoader) SecurityActions.class.getClassLoader();
        } else {
            return (ModuleClassLoader) doPrivileged(new GetClassLoaderAction(SecurityActions.class));
        }
    }
View Full Code Here

TOP

Related Classes of org.wildfly.security.manager.action.GetClassLoaderAction

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.