KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > management > j2ee > factory > ManagedObjectFactoryMap


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.management.j2ee.factory;
23
24 import javax.management.Notification JavaDoc;
25 import javax.management.ObjectName JavaDoc;
26
27 /**
28  * A ManagedObjectFactoryMap is a collection of ManagedObjectFactorys keyed
29  * by Notifications. An implementation has to be able to map from the various
30  * type of events and their associated data to the ManagedObjectFactory that
31  * is able the create the JSR-77 management object(s) that should be available
32  * for the core JBoss component represented by the Notification.
33  *
34  * @author Scott.Stark@jboss.org
35  * @version $Revision: 37459 $
36  */

37 public interface ManagedObjectFactoryMap
38 {
39    public ManagedObjectFactory getFactory(Notification JavaDoc createEvent);
40
41    /**
42     * Set the ObjectName to recognize as the SARDeployer component
43     *
44     * @param name the SARDeployer name
45     */

46    public void setSARDeployer(ObjectName JavaDoc name);
47
48    /**
49     * Set the ObjectName to recognize as the EARDeployer component
50     *
51     * @param name the EARDeployer name
52     */

53    public void setEARDeployer(ObjectName JavaDoc name);
54
55    /**
56     * Set the ObjectName to recognize as the EJBDeployer component
57     *
58     * @param name the EJBDeployer name
59     */

60    public void setEJBDeployer(ObjectName JavaDoc name);
61
62    /**
63     * Set the ObjectName to recognize as the RARDeployer component
64     *
65     * @param name the RARDeployer name
66     */

67    public void setRARDeployer(ObjectName JavaDoc name);
68
69    /**
70     * Set the ObjectName to recognize as the JCA Connection manager deployer component
71     *
72     * @param name the JCA Connection manager deployer name
73     */

74    public void setCMDeployer(ObjectName JavaDoc name);
75
76    /**
77     * Set the ObjectName to recognize as the WARDeployer component
78     *
79     * @param name the WARDeployer name
80     */

81    public void setWARDeployer(ObjectName JavaDoc name);
82
83    /**
84     * Set the ObjectName to recognize as a JavaMail resource component
85     *
86     * @param name the JavaMail service name
87     */

88    public void setJavaMailResource(ObjectName JavaDoc name);
89
90    /**
91     * Set the ObjectName to recognize as a JMS resource component
92     *
93     * @param name the JMS service name
94     */

95    public void setJMSResource(ObjectName JavaDoc name);
96
97    /**
98     * Set the ObjectName to recognize as a JNDI resource component
99     *
100     * @param name the JNDI service name
101     */

102    public void setJNDIResource(ObjectName JavaDoc name);
103
104    /**
105     * Set the ObjectName to recognize as a JTA resource component
106     *
107     * @param name the JTA service name
108     */

109    public void setJTAResource(ObjectName JavaDoc name);
110
111    /**
112     * Set the ObjectName to recognize as a RMI_IIOP resource component
113     *
114     * @param name the RMI_IIOP service name
115     */

116    public void setRMI_IIOPResource(ObjectName JavaDoc name);
117 }
118
Popular Tags