Package org.jboss.weld.security

Examples of org.jboss.weld.security.GetSystemPropertyAction


                if (propertyNameInverted) {
                    propertyName = removeInversion(propertyName);
                }

                String actualPropertyValue = AccessController.doPrivileged(new GetSystemPropertyAction(propertyName));
                if (requiredPropertyValue == null) {
                    active = active && isNotNull(actualPropertyValue, propertyNameInverted);
                } else {
                    boolean requiredPropertyValueInverted = isInverted(requiredPropertyValue);
                    if (requiredPropertyValueInverted) {
View Full Code Here


    private SystemPropertiesConfiguration() {
        xmlValidationDisabled = initBooleanSystemProperty(DISABLE_XML_VALIDATION_KEY, false);
        nonPortableModeEnabled = initBooleanSystemProperty(NON_PORTABLE_MODE_KEY, false);

        String dumpPathString = AccessController.doPrivileged(new GetSystemPropertyAction(CLIENT_PROXY_DUMP_PATH));
        if (dumpPathString != null && !dumpPathString.isEmpty()) {
            File tmp = new File(dumpPathString);
            if (!tmp.isDirectory() && !tmp.mkdirs()) {
                BeanLogger.LOG.directoryCannotBeCreated(tmp.toString());
                proxyDumpPath = null;
View Full Code Here

                ImmutableSet.<Class<? extends Annotation>> builder().addAll(typeDiscoveryConfiguration.getKnownBeanDefiningAnnotations())
                        // Add ThreadScoped manually as Weld SE doesn't support implicit bean archives without beans.xml
                        .add(ThreadScoped.class).build());
        Set<WeldBeanDeploymentArchive> discoveredArchives = strategy.performDiscovery();

        String isolation = AccessController.doPrivileged(new GetSystemPropertyAction(ARCHIVE_ISOLATION_SYSTEM_PROPERTY));

        if (isolation != null && Boolean.valueOf(isolation).equals(Boolean.FALSE)) {
            WeldBeanDeploymentArchive archive = WeldBeanDeploymentArchive.merge(bootstrap, discoveredArchives);
            deployment = new WeldDeployment(resourceLoader, bootstrap, Collections.singleton(archive), loadedExtensions);
            CommonLogger.LOG.archiveIsolationDisabled();
View Full Code Here

TOP

Related Classes of org.jboss.weld.security.GetSystemPropertyAction

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.