KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > spring > kernel > SpringMicrocontainerDeployer


1 /***************************************
2  * *
3  * JBoss: The OpenSource J2EE WebOS *
4  * *
5  * Distributable under LGPL license. *
6  * See terms of license at gnu.org. *
7  * *
8  ***************************************/

9
10 package org.jboss.spring.kernel;
11
12 import javax.management.ObjectName JavaDoc;
13
14 import org.jboss.spring.deployment.SpringDeployer;
15 import org.jboss.spring.factory.BeanFactoryLoader;
16
17 /**
18  * @author <a HREF="mailto:ales.justin@genera-lynx.com">Ales Justin</a>
19  * @jmx:mbean name="jboss.spring:service=SpringApplicationContextDeployer"
20  * extends="org.jboss.deployment.SubDeployerMBean"
21  */

22 public class SpringMicrocontainerDeployer extends SpringDeployer
23 {
24
25    //default object name
26
public static final ObjectName JavaDoc OBJECT_NAME =
27          org.jboss.mx.util.ObjectNameFactory.create("jboss.spring:service=SpringMicrocontainerDeployer");
28
29    public SpringMicrocontainerDeployer()
30    {
31       super();
32    }
33
34    protected BeanFactoryLoader createBeanFactoryLoader()
35    {
36       return new MicrocontainerLoaderImpl();
37    }
38
39    protected ObjectName JavaDoc getDefaultObjectName()
40    {
41       return OBJECT_NAME;
42    }
43
44 }
45
Popular Tags