Package org.apache.harmony.rmi.common

Examples of org.apache.harmony.rmi.common.GetBooleanPropAction


        snapshotInterval = ((Long) AccessController
                .doPrivileged(new GetLongPropAction(
                        RMIProperties.ACTIVATION_SNAPSHOTINTERVAL_PROP,
                        snapshotInterval))).longValue();
        loggingDebug = ((Boolean) AccessController
                .doPrivileged(new GetBooleanPropAction(
                        RMIProperties.ACTIVATION_LOG_DEBUG_PROP,
                        loggingDebug))).booleanValue();
        maxConcurrentStartingGroups = ((Long) AccessController
                .doPrivileged(new GetLongPropAction(
                        RMIProperties.MAXSTARTGROUP_PROP,
                        maxConcurrentStartingGroups))).longValue();
        activationDebug = ((Boolean) AccessController
                .doPrivileged(new GetBooleanPropAction(
                        RMIProperties.ACTIVATION_DEBUGEXEC_PROP, false)))
                .booleanValue();
        monitorClassName = (String) AccessController
                .doPrivileged(new GetStringPropAction(
                        RMIProperties.ACTIVATION_MONITOR_CLASS_NAME_PROP,
View Full Code Here


     * @return  <code>true</code> if direct connections are allowed,
     *          <code>false</code> otherwise.
     */
    private static boolean isDirectEnabled() {
        return ((Boolean) AccessController.doPrivileged(
                new GetBooleanPropAction(ENABLE_DIRECT_HTTP_PROP)))
                        .booleanValue();
    }
View Full Code Here

    public Socket createSocket(Proxy proxy, String host, int port)
            throws IOException {
        Socket s;

        // Check if plain HTTP is disabled.
        if (((Boolean) AccessController.doPrivileged(new GetBooleanPropAction(
                DISABLE_PLAIN_HTTP_PROP))).booleanValue()) {
            if (proxyTransportLog.isLoggable(RMILog.VERBOSE)) {
                // rmi.log.131=Plain HTTP connections disabled, trying CGI connection.
                proxyTransportLog.log(RMILog.VERBOSE, Messages.getString("rmi.log.131")); //$NON-NLS-1$
            }
View Full Code Here

        snapshotInterval = ((Long) AccessController
                .doPrivileged(new GetLongPropAction(
                        RMIProperties.ACTIVATION_SNAPSHOTINTERVAL_PROP,
                        snapshotInterval))).longValue();
        loggingDebug = ((Boolean) AccessController
                .doPrivileged(new GetBooleanPropAction(
                        RMIProperties.ACTIVATION_LOG_DEBUG_PROP,
                        loggingDebug))).booleanValue();
        maxConcurrentStartingGroups = ((Long) AccessController
                .doPrivileged(new GetLongPropAction(
                        RMIProperties.MAXSTARTGROUP_PROP,
                        maxConcurrentStartingGroups))).longValue();
        activationDebug = ((Boolean) AccessController
                .doPrivileged(new GetBooleanPropAction(
                        RMIProperties.ACTIVATION_DEBUGEXEC_PROP, false)))
                .booleanValue();
        monitorClassName = (String) AccessController
                .doPrivileged(new GetStringPropAction(
                        RMIProperties.ACTIVATION_MONITOR_CLASS_NAME_PROP,
View Full Code Here

     * @return  <code>true</code> if direct connections are allowed,
     *          <code>false</code> otherwise.
     */
    private static boolean isDirectEnabled() {
        return ((Boolean) AccessController.doPrivileged(
                new GetBooleanPropAction(ENABLE_DIRECT_HTTP_PROP)))
                        .booleanValue();
    }
View Full Code Here

    public Socket createSocket(Proxy proxy, String host, int port)
            throws IOException {
        Socket s;

        // Check if plain HTTP is disabled.
        if (((Boolean) AccessController.doPrivileged(new GetBooleanPropAction(
                DISABLE_PLAIN_HTTP_PROP))).booleanValue()) {
            if (proxyTransportLog.isLoggable(RMILog.VERBOSE)) {
                // rmi.log.131=Plain HTTP connections disabled, trying CGI connection.
                proxyTransportLog.log(RMILog.VERBOSE, Messages.getString("rmi.log.131")); //$NON-NLS-1$
            }
View Full Code Here

        snapshotInterval = ((Long) AccessController
                .doPrivileged(new GetLongPropAction(
                        RMIProperties.ACTIVATION_SNAPSHOTINTERVAL_PROP,
                        snapshotInterval))).longValue();
        loggingDebug = ((Boolean) AccessController
                .doPrivileged(new GetBooleanPropAction(
                        RMIProperties.ACTIVATION_LOG_DEBUG_PROP,
                        loggingDebug))).booleanValue();
        maxConcurrentStartingGroups = ((Long) AccessController
                .doPrivileged(new GetLongPropAction(
                        RMIProperties.MAXSTARTGROUP_PROP,
                        maxConcurrentStartingGroups))).longValue();
        activationDebug = ((Boolean) AccessController
                .doPrivileged(new GetBooleanPropAction(
                        RMIProperties.ACTIVATION_DEBUGEXEC_PROP, false)))
                .booleanValue();
        monitorClassName = (String) AccessController
                .doPrivileged(new GetStringPropAction(
                        RMIProperties.ACTIVATION_MONITOR_CLASS_NAME_PROP,
View Full Code Here

     * @return  <code>true</code> if direct connections are allowed,
     *          <code>false</code> otherwise.
     */
    private static boolean isDirectEnabled() {
        return ((Boolean) AccessController.doPrivileged(
                new GetBooleanPropAction(ENABLE_DIRECT_HTTP_PROP)))
                        .booleanValue();
    }
View Full Code Here

TOP

Related Classes of org.apache.harmony.rmi.common.GetBooleanPropAction

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.