|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.system.ServiceMBeanSupport
org.jboss.jaxr.juddi.JUDDIService
public class JUDDIService
A JBoss MBean for the JUDDI Service MBean for the JUDDI open source project integrated as part of the JAXR requirements for J2EE 1.4 compliance
| Field Summary | |
|---|---|
protected java.lang.String |
bindJaxr
|
protected boolean |
createOnStart
|
protected javax.sql.DataSource |
datasource
|
protected java.lang.String |
datasourceurl
|
protected boolean |
dropDB
|
protected boolean |
dropOnStart
|
protected boolean |
dropOnStop
|
protected boolean |
loadNAICS
|
protected boolean |
loadUNSPSC
|
protected java.lang.String |
registryOperator
|
protected boolean |
shouldBindJaxr
|
| Fields inherited from class org.jboss.system.ServiceMBeanSupport |
|---|
log, server, SERVICE_CONTROLLER_SIG, serviceName |
| Fields inherited from interface org.jboss.jaxr.juddi.JUDDIServiceMBean |
|---|
OBJECT_NAME |
| Fields inherited from interface org.jboss.system.ServiceMBean |
|---|
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED |
| Constructor Summary | |
|---|---|
JUDDIService()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getBindJaxr()
gets the JAXR ConnectionFactory. |
protected java.sql.Connection |
getConnection()
|
java.lang.String |
getDataSource()
|
boolean |
getDropDB()
gets the JAXR ConnectionFactory. |
java.lang.String |
getRegistryOperator()
|
boolean |
getShouldBindJaxr()
gets the JAXR ConnectionFactory. |
boolean |
isCreateOnStart()
|
boolean |
isDropOnStart()
|
boolean |
isDropOnStop()
|
protected void |
runCreate()
|
protected void |
runDrop()
|
protected void |
runScript(java.io.InputStream stream)
|
void |
setBindJaxr(java.lang.String str)
Sets the JAXR ConnectionFactory. |
void |
setCreateOnStart(boolean createOnStart)
Sets the createOnStart. |
void |
setDataSourceUrl(java.lang.String ds)
Sets the Datasource Url. |
void |
setDropDB(boolean b)
Sets the JAXR ConnectionFactory. |
void |
setDropOnStart(boolean dropOnStart)
Sets the dropOnStart. |
void |
setDropOnStop(boolean dropOnStop)
Sets the dropOnStop. |
void |
setRegistryOperator(java.lang.String ro)
Sets the RegistryOperator. |
void |
setShouldBindJaxr(boolean str)
Sets the JAXR ConnectionFactory. |
void |
startService()
starts the jUDDI service |
void |
stopService()
stop the service |
| Methods inherited from class org.jboss.system.ServiceMBeanSupport |
|---|
create, createService, destroy, destroyService, getDeploymentInfo, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, pojoChange, pojoCreate, pojoDestroy, pojoStart, pojoStop, postDeregister, postRegister, preDeregister, preRegister, setKernelControllerContext, start, stop, unsetKernelControllerContext |
| Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport |
|---|
addNotificationListener, getNotificationInfo, handleNotification, nextNotificationSequenceNumber, removeNotificationListener, removeNotificationListener, sendNotification |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jboss.system.ServiceMBean |
|---|
getName, getState, getStateString, jbossInternalLifecycle |
| Methods inherited from interface org.jboss.system.Service |
|---|
create, destroy, start, stop |
| Field Detail |
|---|
protected boolean dropOnStart
protected boolean createOnStart
protected boolean dropOnStop
protected boolean loadNAICS
protected boolean loadUNSPSC
protected javax.sql.DataSource datasource
protected java.lang.String datasourceurl
protected java.lang.String registryOperator
protected java.lang.String bindJaxr
protected boolean shouldBindJaxr
protected boolean dropDB
| Constructor Detail |
|---|
public JUDDIService()
| Method Detail |
|---|
protected java.sql.Connection getConnection()
throws java.sql.SQLException,
javax.naming.NamingException
java.sql.SQLException
javax.naming.NamingException
protected void runDrop()
throws java.sql.SQLException,
java.io.IOException
java.sql.SQLException
java.io.IOException
protected void runCreate()
throws java.sql.SQLException,
java.io.IOException
java.sql.SQLException
java.io.IOException
protected void runScript(java.io.InputStream stream)
throws java.sql.SQLException,
java.io.IOException
java.sql.SQLException
java.io.IOException
public void startService()
throws java.lang.Exception
startService in class org.jboss.system.ServiceMBeanSupportjava.lang.Exception
public void stopService()
throws java.lang.Exception
stopService in class org.jboss.system.ServiceMBeanSupportjava.lang.Exceptionpublic boolean isDropOnStart()
isDropOnStart in interface JUDDIServiceMBeanpublic void setDropOnStart(boolean dropOnStart)
setDropOnStart in interface JUDDIServiceMBeandropOnStart - The dropOnStart to setpublic boolean isDropOnStop()
isDropOnStop in interface JUDDIServiceMBeanpublic void setDropOnStop(boolean dropOnStop)
setDropOnStop in interface JUDDIServiceMBeandropOnStop - The dropOnStop to setpublic boolean isCreateOnStart()
isCreateOnStart in interface JUDDIServiceMBeanpublic void setCreateOnStart(boolean createOnStart)
setCreateOnStart in interface JUDDIServiceMBeancreateOnStart - The createOnStart to setpublic java.lang.String getDataSource()
getDataSource in interface JUDDIServiceMBeanpublic void setDataSourceUrl(java.lang.String ds)
setDataSourceUrl in interface JUDDIServiceMBeands - The datasourceurl to setpublic java.lang.String getRegistryOperator()
getRegistryOperator in interface JUDDIServiceMBeanpublic void setRegistryOperator(java.lang.String ro)
setRegistryOperator in interface JUDDIServiceMBeanro - The datasourceurl to setpublic java.lang.String getBindJaxr()
getBindJaxr in interface JUDDIServiceMBeanpublic void setBindJaxr(java.lang.String str)
setBindJaxr in interface JUDDIServiceMBeanstr - The context to bind the Jaxr factory to setpublic boolean getShouldBindJaxr()
getShouldBindJaxr in interface JUDDIServiceMBeanpublic void setShouldBindJaxr(boolean str)
setShouldBindJaxr in interface JUDDIServiceMBeanstr - Should a Jaxr Connection Factory boundpublic boolean getDropDB()
getDropDB in interface JUDDIServiceMBeanpublic void setDropDB(boolean b)
setDropDB in interface JUDDIServiceMBeanb - Should a Jaxr Connection Factory bound
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||