01: /*
02: * JBoss, Home of Professional Open Source.
03: * Copyright 2006, Red Hat Middleware LLC, and individual contributors
04: * as indicated by the @author tags. See the copyright.txt file in the
05: * distribution for a full listing of individual contributors.
06: *
07: * This is free software; you can redistribute it and/or modify it
08: * under the terms of the GNU Lesser General Public License as
09: * 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;
25:
26: import javax.management.ObjectName;
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: 57189 $
36: */
37: public interface AdminObjectMBean extends ServiceMBean {
38:
39: public static final ObjectName OBJECT_NAME = ObjectNameFactory
40: .create("jboss.jca:service=AdminObject");
41:
42: /**
43: * Get the jndi name
44: *
45: * @return the jndi name
46: */
47: String getJNDIName();
48:
49: /**
50: * Set the jndi name
51: *
52: * @param jndiName the jndi name
53: */
54: void setJNDIName(String jndiName);
55:
56: /**
57: * Get the properties
58: *
59: * @return the properties
60: */
61: Properties getProperties();
62:
63: /**
64: * Set the properties
65: *
66: * @param properties the properties
67: */
68: void setProperties(java.util.Properties properties);
69:
70: /**
71: * Get the rar name
72: * @return the rar name
73: */
74: javax.management.ObjectName getRARName();
75:
76: /**
77: * Set the rar name
78: * @param rarName the rar name
79: */
80: void setRARName(ObjectName rarName);
81:
82: /**
83: * Get the interface type
84: *
85: * @return the interface type
86: */
87: String getType();
88:
89: /**
90: * Set the interface type
91: *
92: * @param type the interface type
93: */
94: void setType(String type);
95: }
|