|
|||||||||||
| 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.ebxmlrr.EbxmlrrService
MBean for the Ebxmlrr open source project integrated as part of the JAXR requirements for J2EE 1.4 compliance
| Field Summary | |
protected String |
bindJaxr
|
protected boolean |
createOnStart
|
protected DataSource |
datasource
|
protected String |
datasourceurl
|
protected boolean |
dropOnStart
|
protected boolean |
dropOnStop
|
protected boolean |
loadNAICS
|
protected boolean |
loadUNSPSC
|
protected 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.ebxmlrr.EbxmlrrServiceMBean |
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 | |
EbxmlrrService()
|
|
| Method Summary | |
String |
getBindJaxr()
gets the JAXR ConnectionFactory. |
protected Connection |
getConnection()
|
String |
getDataSource()
|
String |
getRegistryOperator()
|
boolean |
getShouldBindJaxr()
gets the JAXR ConnectionFactory. |
boolean |
isCreateOnStart()
|
boolean |
isDropOnStart()
|
boolean |
isDropOnStop()
|
boolean |
isLoadNAICS()
|
boolean |
isLoadUNSPSC()
|
protected void |
runCreate()
|
protected void |
runDrop()
|
protected void |
runScript(InputStream stream)
|
void |
setBindJaxr(String str)
Sets the JAXR ConnectionFactory. |
void |
setCreateOnStart(boolean createOnStart)
Sets the createOnStart. |
void |
setDataSourceUrl(String ds)
Sets the Datasource Url. |
void |
setDropOnStart(boolean dropOnStart)
Sets the dropOnStart. |
void |
setDropOnStop(boolean dropOnStop)
Sets the dropOnStop. |
void |
setLoadNAICS(boolean ln)
Sets the dropOnStart. |
void |
setLoadUNSPSC(boolean ln)
Sets the dropOnStart. |
void |
setRegistryOperator(String ro)
Sets the RegistryOperator. |
void |
setShouldBindJaxr(boolean str)
Sets the JAXR ConnectionFactory. |
void |
startService()
starts the ebxmlrr service |
void |
stopService()
stop the service |
| Methods inherited from class org.jboss.system.ServiceMBeanSupport |
create, createService, destroy, destroyService, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister, start, stop |
| Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport |
addNotificationListener, getNotificationInfo, handleNotification, 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 DataSource datasource
protected String datasourceurl
protected String registryOperator
protected String bindJaxr
protected boolean shouldBindJaxr
| Constructor Detail |
public EbxmlrrService()
| Method Detail |
protected Connection getConnection() throws SQLException, NamingException
SQLException
NamingException
protected void runDrop()
throws SQLException,
IOException
SQLException
IOException
protected void runCreate()
throws SQLException,
IOException
SQLException
IOExceptionprotected void runScript(InputStream stream) throws SQLException, IOException
SQLException
IOException
public void startService()
throws Exception
Exception
public void stopService()
throws Exception
Exceptionpublic boolean isDropOnStart()
isDropOnStart in interface EbxmlrrServiceMBeanpublic void setDropOnStart(boolean dropOnStart)
setDropOnStart in interface EbxmlrrServiceMBeandropOnStart - The dropOnStart to setpublic boolean isDropOnStop()
isDropOnStop in interface EbxmlrrServiceMBeanpublic void setDropOnStop(boolean dropOnStop)
setDropOnStop in interface EbxmlrrServiceMBeandropOnStop - The dropOnStop to setpublic boolean isCreateOnStart()
isCreateOnStart in interface EbxmlrrServiceMBeanpublic void setCreateOnStart(boolean createOnStart)
setCreateOnStart in interface EbxmlrrServiceMBeancreateOnStart - The createOnStart to setpublic String getDataSource()
getDataSource in interface EbxmlrrServiceMBeanpublic void setDataSourceUrl(String ds)
setDataSourceUrl in interface EbxmlrrServiceMBeands - The datasourceurl to setpublic String getRegistryOperator()
getRegistryOperator in interface EbxmlrrServiceMBeanpublic void setRegistryOperator(String ro)
setRegistryOperator in interface EbxmlrrServiceMBeanro - The datasourceurl to setpublic boolean isLoadNAICS()
isLoadNAICS in interface EbxmlrrServiceMBeanpublic void setLoadNAICS(boolean ln)
setLoadNAICS in interface EbxmlrrServiceMBeanln - The loadNAICS to setpublic boolean isLoadUNSPSC()
isLoadUNSPSC in interface EbxmlrrServiceMBeanpublic void setLoadUNSPSC(boolean ln)
setLoadUNSPSC in interface EbxmlrrServiceMBeanln - The loadUNSPSC to setpublic void setBindJaxr(String str)
setBindJaxr in interface EbxmlrrServiceMBeanstr - The context to bind the Jaxr factory to setpublic boolean getShouldBindJaxr()
getShouldBindJaxr in interface EbxmlrrServiceMBeanpublic void setShouldBindJaxr(boolean str)
setShouldBindJaxr in interface EbxmlrrServiceMBeanstr - Should a Jaxr Connection Factory boundpublic String getBindJaxr()
getBindJaxr in interface EbxmlrrServiceMBean
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||