KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > resource > deployment > AdminObjectMBean


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.resource.deployment;
23
24 import java.util.Properties JavaDoc;
25
26 import javax.management.ObjectName JavaDoc;
27
28 import org.jboss.mx.util.ObjectNameFactory;
29 import org.jboss.system.ServiceMBean;
30
31 /**
32  * MBean interface.
33  *
34  * @author <a HREF="adrian@jboss.com">Adrian Brock</a>
35  * @version $Revision: 38341 $
36  */

37 public interface AdminObjectMBean extends ServiceMBean
38 {
39
40    public static final ObjectName JavaDoc OBJECT_NAME = ObjectNameFactory.create("jboss.jca:service=AdminObject");
41
42    /**
43     * Get the jndi name
44     *
45     * @return the jndi name
46     */

47    String JavaDoc getJNDIName();
48
49    /**
50     * Set the jndi name
51     *
52     * @param jndiName the jndi name
53     */

54    void setJNDIName(String JavaDoc jndiName);
55
56    /**
57     * Get the properties
58     *
59     * @return the properties
60     */

61    Properties JavaDoc getProperties();
62
63    /**
64     * Set the properties
65     *
66     * @param properties the properties
67     */

68    void setProperties(java.util.Properties JavaDoc properties);
69
70    /**
71     * Get the rar name
72     * @return the rar name
73     */

74    javax.management.ObjectName JavaDoc getRARName();
75
76    /**
77     * Set the rar name
78     * @param rarName the rar name
79     */

80    void setRARName(ObjectName JavaDoc rarName);
81
82    /**
83     * Get the interface type
84     *
85     * @return the interface type
86     */

87    String JavaDoc getType();
88
89    /**
90     * Set the interface type
91     *
92     * @param type the interface type
93     */

94    void setType(String JavaDoc type);
95 }
96
Popular Tags