KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > kernel > plugins > bootstrap > basic > KernelConstants


1 /*
2 * JBoss, Home of Professional Open Source
3 * Copyright 2005, JBoss Inc., and individual contributors as indicated
4 * by the @authors tag. See the copyright.txt in the distribution for a
5 * full listing of individual contributors.
6 *
7 * This is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU Lesser General Public License as
9 * published by the Free Software Foundation; either version 2.1 of
10 * the License, or (at your option) any later version.
11 *
12 * This software is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
16 *
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this software; if not, write to the Free
19 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
20 * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
21 */

22 package org.jboss.kernel.plugins.bootstrap.basic;
23
24 import org.jboss.kernel.spi.bootstrap.KernelInitializer;
25 import org.jboss.kernel.spi.config.KernelConfigurator;
26 import org.jboss.kernel.spi.dependency.KernelController;
27 import org.jboss.kernel.spi.event.KernelEventManager;
28 import org.jboss.kernel.spi.metadata.KernelMetaDataRepository;
29 import org.jboss.kernel.spi.registry.KernelBus;
30 import org.jboss.kernel.spi.registry.KernelRegistry;
31
32 /**
33  * Constants.<p>
34  *
35  * @author <a HREF="adrian@jboss.com">Adrian Brock</a>
36  * @author <a HREF="mailto:les.hazlewood@jboss.org">Les A. Hazlewood</a>
37  * @version $Revision: 46188 $
38  */

39 public interface KernelConstants
40 {
41    /** The default kernel name */
42    static final String JavaDoc KERNEL_NAME = "jboss.kernel:service=Kernel";
43    
44    /** The default kernel bus name */
45    static final String JavaDoc KERNEL_BUS_NAME = "jboss.kernel:service=KernelBus";
46    
47    /** The kernel bus property */
48    static final String JavaDoc KERNEL_BUS_PROPERTY = KernelBus.class.getName();
49    
50    /** The default kernel bus implementation */
51    static final String JavaDoc KERNEL_BUS_CLASS = "org.jboss.kernel.plugins.registry.basic.BasicKernelBus";
52    
53    /** The default kernel config name */
54    static final String JavaDoc KERNEL_CONFIG_NAME = "jboss.kernel:service=KernelConfig";
55    
56    /** The default kernel configurator name */
57    static final String JavaDoc KERNEL_CONFIGURATOR_NAME = "jboss.kernel:service=KernelConfigurator";
58    
59    /** The kernel configurator property */
60    static final String JavaDoc KERNEL_CONFIGURATOR_PROPERTY = KernelConfigurator.class.getName();
61    
62    /** The default kernel configurator implementation */
63    static final String JavaDoc KERNEL_CONFIGURATOR_CLASS = "org.jboss.kernel.plugins.config.AbstractKernelConfigurator";
64    
65    /** The default kernel controller name */
66    static final String JavaDoc KERNEL_CONTROLLER_NAME = "jboss.kernel:service=KernelController";
67    
68    /** The kernel controller property */
69    static final String JavaDoc KERNEL_CONTROLLER_PROPERTY = KernelController.class.getName();
70    
71    /** The default kernel controller implementation */
72    static final String JavaDoc KERNEL_CONTROLLER_CLASS = "org.jboss.kernel.plugins.dependency.AbstractKernelController";
73    
74    /** The default kernel event manager name */
75    static final String JavaDoc KERNEL_EVENT_MANAGER_NAME = "jboss.kernel:service=KernelEventManager";
76    
77    /** The kernel event manager property */
78    static final String JavaDoc KERNEL_EVENT_MANAGER_PROPERTY = KernelEventManager.class.getName();
79    
80    /** The default kernel event manager implementation */
81    static final String JavaDoc KERNEL_EVENT_MANAGER_CLASS = "org.jboss.kernel.plugins.event.AbstractEventManager";
82    
83    /** The default kernel initializer */
84    static final String JavaDoc KERNEL_INITIALIZER_NAME = "jboss.kernel:service=KernelInit";
85    
86    /** The kernel initializer property */
87    static final String JavaDoc KERNEL_INITIALIZER_PROPERTY = KernelInitializer.class.getName();
88    
89    /** The default kernel initializer implementation */
90    static final String JavaDoc KERNEL_INITIALIZER_CLASS = "org.jboss.kernel.plugins.bootstrap.basic.BasicKernelInitializer";
91    
92    /** The default kernel registry name */
93    static final String JavaDoc KERNEL_REGISTRY_NAME = "jboss.kernel:service=KernelRegistry";
94    
95    /** The kernel registry property */
96    static final String JavaDoc KERNEL_REGISTRY_PROPERTY = KernelRegistry.class.getName();
97    
98    /** The default kernel registry implementation */
99    static final String JavaDoc KERNEL_REGISTRY_CLASS = "org.jboss.kernel.plugins.registry.basic.BasicKernelRegistry";
100    
101    /** The default meta data repository name */
102    static final String JavaDoc KERNEL_METADATA_REPOSITORY_NAME = "jboss.kernel:service=MetaDataRepository";
103    
104    /** The meta data repository property */
105    static final String JavaDoc KERNEL_METADATA_REPOSITORY_PROPERTY = KernelMetaDataRepository.class.getName();
106    
107    /** The default meta data repository implementation */
108    static final String JavaDoc KERNEL_METADATA_REPOSITORY_CLASS = "org.jboss.kernel.plugins.metadata.basic.BasicKernelMetaDataRepository";
109 }
110
Popular Tags