KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > jaxr > juddi > JUDDIServiceMBean


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.jaxr.juddi;
23
24 import javax.management.ObjectName JavaDoc;
25 import org.jboss.mx.util.ObjectNameFactory;
26
27 /**
28  * MBean interface.
29  * @since Nov 8, 2004
30  */

31 public interface JUDDIServiceMBean extends org.jboss.system.ServiceMBean {
32
33    //default object name
34
public static final ObjectName JavaDoc OBJECT_NAME = ObjectNameFactory.create("jboss:service=juddi");
35
36   boolean isDropOnStart() ;
37
38    /**
39     * Sets the dropOnStart.
40     * @param dropOnStart The dropOnStart to set
41     */

42   void setDropOnStart(boolean dropOnStart) ;
43
44   boolean isDropOnStop() ;
45
46    /**
47     * Sets the dropOnStop.
48     * @param dropOnStop The dropOnStop to set
49     */

50   void setDropOnStop(boolean dropOnStop) ;
51
52   boolean isCreateOnStart() ;
53
54    /**
55     * Sets the createOnStart.
56     * @param createOnStart The createOnStart to set
57     */

58   void setCreateOnStart(boolean createOnStart) ;
59
60   java.lang.String JavaDoc getDataSource() ;
61
62    /**
63     * Sets the Datasource Url.
64     * @param ds The datasourceurl to set
65     */

66   void setDataSourceUrl(java.lang.String JavaDoc ds) ;
67
68   java.lang.String JavaDoc getRegistryOperator() ;
69
70    /**
71     * Sets the RegistryOperator.
72     * @param ro The datasourceurl to set
73     */

74   void setRegistryOperator(java.lang.String JavaDoc ro) ;
75
76    /**
77     * gets the JAXR ConnectionFactory.
78     */

79   java.lang.String JavaDoc getBindJaxr() ;
80
81    /**
82     * Sets the JAXR ConnectionFactory.
83     * @param str The context to bind the Jaxr factory to set
84     */

85   void setBindJaxr(java.lang.String JavaDoc str) ;
86
87    /**
88     * gets the JAXR ConnectionFactory.
89     */

90   boolean getShouldBindJaxr() ;
91
92    /**
93     * Sets the JAXR ConnectionFactory.
94     * @param str Should a Jaxr Connection Factory bound
95     */

96   void setShouldBindJaxr(boolean str) ;
97
98    /**
99     * gets the JAXR ConnectionFactory.
100     */

101   boolean getDropDB() ;
102
103    /**
104     * Sets the JAXR ConnectionFactory.
105     * @param b Should a Jaxr Connection Factory bound
106     */

107   void setDropDB(boolean b) ;
108
109 }
110
111
Popular Tags