Examples of ManagerProperties


Examples of com.sun.enterprise.config.serverbeans.ManagerProperties

        if(_logger.isLoggable(Level.FINEST)) {
            _logger.finest(
                "in ServerConfigLookup>>getUuidGeneratorImplClassFromConfig");
        }
        String defaultUuidGeneratorClass = DEFAULT_UUID_GENERATOR_CLASS;
        ManagerProperties mp = getInstanceSessionManagerManagerProperties();
        if (mp != null) {
            String cls = mp.getSessionIdGeneratorClassname();
            if (cls != null) {
                defaultUuidGeneratorClass = cls;
            }
        }
        return this.getWebContainerAvailabilityPropertyString(UUID_GENERATOR_CLASS_PROPERTY_NAME, defaultUuidGeneratorClass);
View Full Code Here

Examples of com.sun.enterprise.deployment.runtime.web.ManagerProperties

           
            //take these 2 lines out
            //String pType = smBean.getAttributeValue("persistence-type");
            //persistence = PersistenceType.parseType(pType);          
           
            ManagerProperties mgrBean = smBean.getManagerProperties();
            if ((mgrBean != null) && (mgrBean.sizeWebProperty() > 0)) {
                WebProperty[] props = mgrBean.getWebProperty();
                for (int i = 0; i < props.length; i++) {                   
                    //String name = props[i].getAttributeValue("name");
                    //String value = props[i].getAttributeValue("value");
                    String name = props[i].getAttributeValue(WebProperty.NAME);
                    String value = props[i].getAttributeValue(WebProperty.VALUE);                   
View Full Code Here

Examples of com.sun.enterprise.deployment.runtime.web.ManagerProperties

                                  SessionManager sipSmBean ) {
        if (sipSmBean == null) {
            return;
        }

        ManagerProperties mgrBean = sipSmBean.getManagerProperties();
        if (mgrBean == null || mgrBean.sizeWebProperty() == 0) {
            return;
        }

        WebProperty[] props = mgrBean.getWebProperty();
        for (WebProperty prop : props) {
            String name = prop.getAttributeValue(WebProperty.NAME);
            String value = prop.getAttributeValue(WebProperty.VALUE);

            if (BasePersistenceStrategyBuilder.SKIP_ROLLING_UPGRADE_BACKUP_RESTORE_PROPERTY.equalsIgnoreCase(name)) {
View Full Code Here

Examples of com.sun.enterprise.deployment.runtime.web.ManagerProperties

     * @param the session manager config bean
     * HERCULES:add
     */
    protected String getPersistenceFrequency(SessionManager smBean) {
        String persistenceFrequency = null;       
        ManagerProperties mgrBean = smBean.getManagerProperties();
        if ((mgrBean != null) && (mgrBean.sizeWebProperty() > 0)) {
            WebProperty[] props = mgrBean.getWebProperty();
            for (int i = 0; i < props.length; i++) {
                //String name = props[i].getAttributeValue("name");
                //String value = props[i].getAttributeValue("value");               
                String name = props[i].getAttributeValue(WebProperty.NAME);
                String value = props[i].getAttributeValue(WebProperty.VALUE);
View Full Code Here

Examples of com.sun.enterprise.deployment.runtime.web.ManagerProperties

     * @param the session manager config bean
     * HERCULES:add
     */
    private String getPersistenceFrequency(SessionManager smBean) {
        String persistenceFrequency = null;       
        ManagerProperties mgrBean = smBean.getManagerProperties();
        if ((mgrBean != null) && (mgrBean.sizeWebProperty() > 0)) {
            WebProperty[] props = mgrBean.getWebProperty();
            for (int i = 0; i < props.length; i++) {

                String name = props[i].getAttributeValue(WebProperty.NAME);
                String value = props[i].getAttributeValue(WebProperty.VALUE);
                if (name == null || value == null) {
View Full Code Here

Examples of com.sun.enterprise.deployment.runtime.web.ManagerProperties

     * @param smBean the session manager config bean
     *               HERCULES:add
     */
    private String getPersistenceFrequency(SessionManager smBean) {
        String persistenceFrequency = null;
        ManagerProperties mgrBean = smBean.getManagerProperties();
        if (mgrBean != null && mgrBean.sizeWebProperty() > 0) {
            WebProperty[] props = mgrBean.getWebProperty();
            for (WebProperty prop : props) {
                String name = prop.getAttributeValue(WebProperty.NAME);
                String value = prop.getAttributeValue(WebProperty.VALUE);
                if (name == null || value == null) {
                    throw new IllegalArgumentException(
View Full Code Here

Examples of com.sun.enterprise.deployment.runtime.web.ManagerProperties

     * @param smBean the session manager config bean
     *               HERCULES:add
     */
    private String getPersistenceFrequency(SessionManager smBean) {
        String persistenceFrequency = null;
        ManagerProperties mgrBean = smBean.getManagerProperties();
        if (mgrBean != null && mgrBean.sizeWebProperty() > 0) {
            WebProperty[] props = mgrBean.getWebProperty();
            for (WebProperty prop : props) {
                String name = prop.getAttributeValue(WebProperty.NAME);
                String value = prop.getAttributeValue(WebProperty.VALUE);
                if (name == null || value == null) {
                    throw new IllegalArgumentException(
View Full Code Here

Examples of com.sun.enterprise.deployment.runtime.web.ManagerProperties

            }

            // invalidation-interval-secs, max-in-memory-sessions
            SessionManager sessionManager = runtimeSessionConfig.getSessionManager();
            if (sessionManager != null) {
                ManagerProperties managerProperties = sessionManager.getManagerProperties();
                if (managerProperties != null && managerProperties.sizeWebProperty() > 0) {
                    for (WebProperty prop : managerProperties.getWebProperty()) {
                        String name = prop.getAttributeValue(WebProperty.NAME);
                        String value = prop.getAttributeValue(WebProperty.VALUE);
                        if (name.equals(REAP_INTERVAL_SECONDS)) {
                            appendTextChild(scNode,
                                    RuntimeTagNames.INVALIDATION_INTERVAL_SECS, value);
View Full Code Here

Examples of com.sun.enterprise.deployment.runtime.web.ManagerProperties

    /**
     * Add Manager property.
     */
    private void addManagerProperty(String name, String value) {
        SessionManager sessionManager = getSessionManager();
        ManagerProperties managerProperties = sessionManager.getManagerProperties();
        if (managerProperties == null) {
            managerProperties = new ManagerProperties();
            sessionManager.setManagerProperties(managerProperties);
        }

        addWebProperty(managerProperties, name, value);
    }
View Full Code Here

Examples of com.sun.enterprise.deployment.runtime.web.ManagerProperties

     * (this is the value from sun-web.xml if defined
     * @param smBean the session manager config bean
     */
    protected String getPersistenceFrequency(SessionManager smBean) {
        String persistenceFrequency = null;       
        ManagerProperties mgrBean = smBean.getManagerProperties();
        if ((mgrBean != null) && (mgrBean.sizeWebProperty() > 0)) {
            WebProperty[] props = mgrBean.getWebProperty();
            for (int i = 0; i < props.length; i++) {
                String name = props[i].getAttributeValue(WebProperty.NAME);
                String value = props[i].getAttributeValue(WebProperty.VALUE);
                if (name.equalsIgnoreCase("persistenceFrequency")) {
                    persistenceFrequency = value;
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.