1 22 package org.jboss.metadata.spi.scope; 23 24 30 public interface CommonLevels 31 { 32 33 String DOMAIN_NAME = "DOMAIN"; 34 35 36 ScopeLevel DOMAIN = new ScopeLevel(100, DOMAIN_NAME); 37 38 39 String CLUSTER_NAME = "CLUSTER"; 40 41 42 ScopeLevel CLUSTER = new ScopeLevel(DOMAIN.getLevel() + 100, CLUSTER_NAME); 43 44 45 String MACHINE_NAME = "MACHINE"; 46 47 48 ScopeLevel MACHINE = new ScopeLevel(CLUSTER.getLevel() + 100, MACHINE_NAME); 49 50 51 String NODE_NAME = "NODE"; 52 53 54 ScopeLevel NODE = new ScopeLevel(MACHINE.getLevel() + 100, NODE_NAME); 55 56 57 String JVM_NAME = "JVM"; 58 59 60 ScopeLevel JVM = new ScopeLevel(NODE.getLevel() + 100, JVM_NAME); 61 62 63 String SERVER_NAME = "SERVER"; 64 65 66 ScopeLevel SERVER = new ScopeLevel(JVM.getLevel() + 100, SERVER_NAME); 67 68 69 String SUBSYSTEM_NAME = "SUBSYSTEM"; 70 71 72 ScopeLevel SUBSYSTEM = new ScopeLevel(SERVER.getLevel() + 100, SUBSYSTEM_NAME); 73 74 75 String APPLICATION_NAME = "APPLICATION"; 76 77 78 ScopeLevel APPLICATION = new ScopeLevel(SUBSYSTEM.getLevel() + 100, APPLICATION_NAME); 79 80 81 String DEPLOYMENT_NAME = "DEPLOYMENT"; 82 83 84 ScopeLevel DEPLOYMENT = new ScopeLevel(APPLICATION.getLevel() + 100, DEPLOYMENT_NAME); 85 86 87 String CLASS_NAME = "CLASS"; 88 89 90 ScopeLevel CLASS = new ScopeLevel(DEPLOYMENT.getLevel() + 100, CLASS_NAME); 91 92 93 String INSTANCE_NAME = "INSTANCE"; 94 95 96 ScopeLevel INSTANCE = new ScopeLevel(CLASS.getLevel() + 100, INSTANCE_NAME); 97 98 99 String JOINPOINT_NAME = "JOINPOINT"; 100 101 102 ScopeLevel JOINPOINT = new ScopeLevel(INSTANCE.getLevel() + 100, JOINPOINT_NAME); 103 104 105 String JOINPOINT_OVERRIDE_NAME = "JOINPOINT_OVERRIDE"; 106 107 108 ScopeLevel JOINPOINT_OVERRIDE = new ScopeLevel(JOINPOINT.getLevel() + 100, JOINPOINT_OVERRIDE_NAME); 109 110 111 String THREAD_NAME = "THREAD"; 112 113 114 ScopeLevel THREAD = new ScopeLevel(JOINPOINT_OVERRIDE.getLevel() + 100, THREAD_NAME); 115 116 117 String WORK_NAME = "WORK"; 118 119 120 ScopeLevel WORK = new ScopeLevel(THREAD.getLevel() + 100, WORK_NAME); 121 122 123 String REQUEST_NAME = "REQUEST"; 124 125 126 ScopeLevel REQUEST = new ScopeLevel(WORK.getLevel() + 100, REQUEST_NAME); 127 } 128 | Popular Tags |