KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > enterprise > admin > util > IAdminConstants


1 /*
2  * The contents of this file are subject to the terms
3  * of the Common Development and Distribution License
4  * (the License). You may not use this file except in
5  * compliance with the License.
6  *
7  * You can obtain a copy of the license at
8  * https://glassfish.dev.java.net/public/CDDLv1.0.html or
9  * glassfish/bootstrap/legal/CDDLv1.0.txt.
10  * See the License for the specific language governing
11  * permissions and limitations under the License.
12  *
13  * When distributing Covered Code, include this CDDL
14  * Header Notice in each file and include the License file
15  * at glassfish/bootstrap/legal/CDDLv1.0.txt.
16  * If applicable, add the following below the CDDL Header,
17  * with the fields enclosed by brackets [] replaced by
18  * you own identifying information:
19  * "Portions Copyrighted [year] [name of copyright owner]"
20  *
21  * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
22  */

23
24 /*
25  * Copyright 2004-2005 Sun Microsystems, Inc. All rights reserved.
26  * Use is subject to license terms.
27  */

28 /*
29  * AdminConstants.java
30  *
31  * Created on October 9, 2003, 8:51 AM
32  */

33
34 package com.sun.enterprise.admin.util;
35
36 /**
37  *
38  * @author kebbs
39  */

40 public interface IAdminConstants {
41     
42     public static final String JavaDoc HOST_PROPERTY_NAME = "client-hostname";
43     
44     public static final String JavaDoc SYSTEM_CONNECTOR_NAME = "system";
45     public static final String JavaDoc RENDEZVOUS_PROPERTY_NAME = "rendezvousOccurred";
46     
47     public static final String JavaDoc DOMAIN_TARGET = "domain";
48     public static final String JavaDoc STANDALONE_CONFIGURATION_SUFFIX = "-config";
49     
50     //FIXHTHIS: Change the name when the configuration cloning is in place.
51
public static final String JavaDoc DEFAULT_CONFIGURATION_NAME = "default-config";
52     
53     public static final String JavaDoc DAS_NODECONTROLLER_MBEAN_NAME="com.sun.appserv:type=node-agents,category=config";
54     public static final String JavaDoc NODEAGENT_STARTINSTANCES_OVERRIDE="startInstancesOverride";
55     public static final String JavaDoc NODEAGENT_DOMAIN_XML_LOCATION="/config/domain.xml";
56
57     // resource types
58
public static final String JavaDoc SYSTEM_ALL = "system-all";
59     public static final String JavaDoc SYSTEM_ADMIN = "system-admin";
60     public static final String JavaDoc SYSTEM_INSTANCE = "system-instance";
61     public static final String JavaDoc SYSTEM_PREFIX = "system-";
62     public static final String JavaDoc USER = "user";
63
64     public static final String JavaDoc DAS_CONFIG_OBJECT_NAME_PATTERN =
65         "*:type=config,category=config,name=server-config";
66 }
67
Popular Tags