Examples of Systemsettings


Examples of flex.messaging.config.SystemSettings

        setId(mbid);

        log = Log.createLog();

        clusterManager = new ClusterManager(this);
        systemSettings = new SystemSettings();
        systemSettingsThreadLocal.set(systemSettings);
        clusterManager = new ClusterManager(this);
        sessionMetricsTracker = new SessionMetricsTracker(this);

        if (isManaged())
View Full Code Here

Examples of flex.messaging.config.SystemSettings

    }

    /** @exclude */
    public static SystemSettings getSystemSettings()
    {
        SystemSettings ss = (SystemSettings)systemSettingsThreadLocal.get();
        if (ss == null)
        {
            ss = new SystemSettings();
            systemSettingsThreadLocal.set(ss);
        }
        return ss;
    }
View Full Code Here

Examples of flex.messaging.config.SystemSettings

        setId(mbid);

        log = Log.createLog();

        clusterManager = new ClusterManager(this);       
        systemSettings = new SystemSettings();
        systemSettingsThreadLocal.set(systemSettings);
        clusterManager = new ClusterManager(this);                  
        sessionMetricsTracker = new SessionMetricsTracker(this);
       
        if (isManaged())
View Full Code Here

Examples of flex.messaging.config.SystemSettings

    }

    /** @exclude */
    public static SystemSettings getSystemSettings()
    {
        SystemSettings ss = (SystemSettings)systemSettingsThreadLocal.get();
        if (ss == null)
        {
            ss = new SystemSettings();
            systemSettingsThreadLocal.set(ss);
        }
        return ss;
    }
View Full Code Here

Examples of org.eurekastreams.server.domain.SystemSettings

        Session.getInstance().getEventBus().addObserver(GotSystemSettingsResponseEvent.class,
                new Observer<GotSystemSettingsResponseEvent>()
                {
            public void update(final GotSystemSettingsResponseEvent event)
            {
                final SystemSettings settings = event.getResponse();

                setSiteLabelTemplate(settings.getHeaderTemplate(), settings.getSiteLabel());
                footerPanel.setSiteLabelTemplate(settings.getFooterTemplate(), settings.getSiteLabel());
                banner.getElement().setInnerHTML(settings.getBannerTemplate());
            }
                });

        SystemSettingsModel.getInstance().fetch(null, true);
View Full Code Here

Examples of org.pentaho.platform.engine.core.system.SystemSettings

    boot.setFilePath( "test-src/solution" );

    IPentahoObjectFactory factory = boot.getFactory();
    assertNotNull( "object factory is null", factory );

    SystemSettings settings = new SystemSettings();
    boot.setSettingsProvider( settings );

    assertEquals( settings, boot.getSettingsProvider() );
  }
View Full Code Here

Examples of org.pentaho.platform.engine.core.system.SystemSettings

    booter.define( IDatabaseDialectService.class, DatabaseDialectService.class, Scope.GLOBAL );
    booter.define( IMondrianCatalogService.class, MondrianCatalogHelper.class, Scope.GLOBAL );
    booter.define( ICacheManager.class, CacheManager.class, Scope.GLOBAL );
    booter.define( IUserRoleListService.class, TestUserRoleListService.class, Scope.GLOBAL );
    booter.defineInstance( IUnifiedRepository.class, repo );
    booter.setSettingsProvider( new SystemSettings() );
    booter.start();

    // Clear up the cache
    cacheMgr = PentahoSystem.getCacheManager( null );
    cacheMgr.clearRegionCache( MondrianCatalogHelper.MONDRIAN_CATALOG_CACHE_REGION );
View Full Code Here

Examples of org.rhq.core.domain.common.composite.SystemSettings

        }
        return subjects;
    }

    private boolean isLdapAuthenticationEnabled() {
        SystemSettings systemSettings = systemManager.getUnmaskedSystemSettings(true);
        String value = systemSettings.get(SystemSetting.LDAP_BASED_JAAS_PROVIDER);
        return (value != null) ? Boolean.valueOf(value) : false;
    }
View Full Code Here

Examples of org.rhq.core.domain.common.composite.SystemSettings

        String value = systemSettings.get(SystemSetting.LDAP_BASED_JAAS_PROVIDER);
        return (value != null) ? Boolean.valueOf(value) : false;
    }

    private boolean isLdapAuthorizationEnabled() {
        SystemSettings systemSettings = systemManager.getUnmaskedSystemSettings(true);
        String groupFilter = systemSettings.get(SystemSetting.LDAP_GROUP_FILTER);
        String groupMember = systemSettings.get(SystemSetting.LDAP_GROUP_MEMBER);
        return ((groupFilter != null) && (groupFilter.trim().length() > 0))
            || ((groupMember != null) && (groupMember.trim().length() > 0));
    }
View Full Code Here

Examples of org.rhq.core.domain.common.composite.SystemSettings

        try {
            SystemManagerLocal systemManager = LookupUtil.getSystemManager();
            MeasurementDefinitionManagerLocal measurementDefinitionManager = LookupUtil
                .getMeasurementDefinitionManager();

            SystemSettings beforeSystemSettings = systemManager.getUnmaskedSystemSettings(false);
            MeasurementDefinitionCriteria criteria = new MeasurementDefinitionCriteria();
            criteria.setPageControl(PageControl.getUnlimitedInstance());
            criteria.fetchResourceType(true);

            List<MeasurementDefinition> beforeMeasurementDefinitions = measurementDefinitionManager
                .findMeasurementDefinitionsByCriteria(freshUser(), criteria);

            synchronizationManager.importAllSubsystems(freshUser(), export.getExportFile(), null);

            //this is to work around BZ 735810
            systemManager.loadSystemConfigurationCache();

            SystemSettings afterSystemSettings = systemManager.getUnmaskedSystemSettings(false);
            List<MeasurementDefinition> afterMeasurementDefinitions = measurementDefinitionManager
                .findMeasurementDefinitionsByCriteria(freshUser(), criteria);

            assertEquals("System settings unexpectedly differ", beforeSystemSettings, afterSystemSettings);
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.