[Carbon-dev] svn commit r16013 - trunk/carbon/org.wso2.carbon.core/src/main/java/org/wso2/carbon

svn at wso2.org svn at wso2.org
Wed Apr 23 00:47:00 PDT 2008


Author: dimuthul
Date: Wed Apr 23 00:46:57 2008
New Revision: 16013

Log:

Adding carbon resouces so security component may compile.



Added:
   trunk/carbon/org.wso2.carbon.core/src/main/java/org/wso2/carbon/RegistryResources.java

Added: trunk/carbon/org.wso2.carbon.core/src/main/java/org/wso2/carbon/RegistryResources.java
==============================================================================
--- (empty file)
+++ trunk/carbon/org.wso2.carbon.core/src/main/java/org/wso2/carbon/RegistryResources.java	Wed Apr 23 00:46:57 2008
@@ -0,0 +1,66 @@
+/*                                                                             
+ * Copyright 2004,2005 The Apache Software Foundation.                         
+ *                                                                             
+ * Licensed under the Apache License, Version 2.0 (the "License");             
+ * you may not use this file except in compliance with the License.            
+ * You may obtain a copy of the License at                                     
+ *                                                                             
+ *      http://www.apache.org/licenses/LICENSE-2.0                             
+ *                                                                             
+ * Unless required by applicable law or agreed to in writing, software         
+ * distributed under the License is distributed on an "AS IS" BASIS,           
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.    
+ * See the License for the specific language governing permissions and         
+ * limitations under the License.                                              
+ */
+package org.wso2.carbon;
+
+/**
+ * Contains all the constants related to the registry artifacts stored in the registry
+ */
+public final class RegistryResources {
+
+    public static final String ROOT = "/carbon/";
+    public static final String TRANSPORTS = ROOT + "transports/";
+    public static final String SERVICE_GROUPS = ROOT + "service-groups/";
+    public static final String MODULES = ROOT + "modules/";
+    public static final String CONFIG = ROOT + "config/";
+
+    public static final String SERVICES = "/services/";
+    public static final String OPERATIONS = "/operations/";
+    public static final String MESSAGES = "/messages/";
+    public static final String PARAMETERS = "/parameters/";
+    public static final String POLICIES = "/policies/";
+
+    public static final String NAME = "name";
+
+    public static final class ServiceProperties {
+        public static final String OPERATIONS = "/operations/";
+
+        public static final String DOCUMENTATION = "service.documentation";
+        public static final String ACTIVE = "service.active";
+        public static final String POLICY_TYPE = "policy.type";
+        public static final String POLICY_UUID = "policy.uuid";
+        public static final String EXPOSED_ON_ALL_TANSPORTS = "exposed.all.transports";
+
+    }
+
+    public static final class ServiceGroupProperties {
+        public static final String LAST_UPDATED = "last.updated";
+    }
+
+    public static final class ModuleProperties {
+        public static final String NAME = "module.name";
+        public static final String VERSION = "module.version";
+        public static final String GLOBALLY_ENGAGED = "globally.engaged";
+        public static final String POLICY_TYPE = "policy.type";
+        public static final String POLICY_UUID = "policy.uuid";
+    }
+
+    public static final class Associations {
+        public static final String ENGAGED_MODULES = "engaged.modules";
+        public static final String EXPOSED_TRANSPORTS = "exposed.transports";
+        public static final String USER_STORE = "user.store";
+    }
+
+}



More information about the Carbon-dev mailing list