SessionHAPropertiesViewBean.java revision 94ab7a4a8fa00e44d9fe93df2c2a77c134a8e31c
/**
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright (c) 2007 Sun Microsystems Inc. All Rights Reserved
*
* The contents of this file are subject to the terms
* of the Common Development and Distribution License
* (the License). You may not use this file except in
* compliance with the License.
*
* You can obtain a copy of the License at
* See the License for the specific language governing
* permission and limitations under the License.
*
* When distributing Covered Code, include this CDDL
* Header Notice in each file and include the License file
* at opensso/legal/CDDLv1.0.txt.
* If applicable, add the following below the CDDL Header,
* with the fields enclosed by brackets [] replaced by
* your own identifying information:
* "Portions Copyrighted [year] [name of copyright owner]"
*
* $Id: SessionHAPropertiesViewBean.java,v 1.2 2008/06/25 05:43:12 qcheng Exp $
*
*/
public class SessionHAPropertiesViewBean
extends SessionHAPropertiesBase {
public static final String DEFAULT_DISPLAY_URL =
private boolean initialized;
/**
* Creates a authentication domains view bean.
*/
public SessionHAPropertiesViewBean() {
super(SESSION_HA_PROPERTIES);
}
protected void initialize() {
if (!initialized) {
if (sessionAttribute != null) {
initialized = true;
super.initialize();
}
}
super.registerChildren();
}
protected void registerChildren() {
ptModel.registerChildren(this);
}
// Labels
registerChild(AMSessionRepository.SYS_PROPERTY_SESSION_HA_REPOSITORY_TYPE+".LABEL",TextField.class);
registerChild(AMSessionRepository.SYS_PROPERTY_SESSION_HA_REPOSITORY_ROOT_DN+".LABEL",TextField.class);
// Read-Only Fields
registerChild(AMSessionRepository.SYS_PROPERTY_SESSION_HA_REPOSITORY_ROOT_DN,StaticTextField.class);
}
}
}
}
view = new CCStaticTextField(
}
view = new CCStaticTextField(this,name,AMSessionRepository.SYS_PROPERTY_SESSION_HA_REPOSITORY_TYPE);
}
view = new CCStaticTextField(
"None"));
}
view = new CCStaticTextField(this,name,AMSessionRepository.SYS_PROPERTY_SESSION_HA_REPOSITORY_ROOT_DN);
}
view = new CCStaticTextField(
this,name,SystemPropertiesManager.get(AMSessionRepository.SYS_PROPERTY_SESSION_HA_REPOSITORY_ROOT_DN,
""));
}
}
view = new CCStaticTextField(
}
}
view = new CCStaticTextField(
}
}
view = new CCStaticTextField(
this,name,SystemPropertiesManager.get(Constants.AM_SESSION_FAILOVER_USE_INTERNAL_REQUEST_ROUTING, ""));
}
}
view = new CCStaticTextField(
this,name,SystemPropertiesManager.get(Constants.AM_SESSION_FAILOVER_CLUSTER_STATE_CHECK_TIMEOUT, ""));
}
}
view = new CCStaticTextField(
this,name,SystemPropertiesManager.get(Constants.AM_SESSION_FAILOVER_CLUSTER_STATE_CHECK_PERIOD, ""));
}
} else {
}
return view;
}
throws ModelControlException {
super.beginDisplay(event);
// Set our Sub-Tabs and current position, relative to one.
}
}
private void createPageTitleModel() {
ptModel = new CCPageTitleModel(
}
}