org.jacorb.notification.jmx.jboss
Class JBossCOSNotificationService
java.lang.Object
ServiceMBeanSupport
org.jacorb.notification.jmx.jboss.JBossCOSNotificationService
- All Implemented Interfaces:
- javax.naming.spi.ObjectFactory
public class JBossCOSNotificationService
- extends ServiceMBeanSupport
- implements javax.naming.spi.ObjectFactory
Adaptor to run a JMX-enabled NotificationService inside of JBoss.
- Version:
- $Id: JBossCOSNotificationService.java,v 1.5 2008-09-22 14:37:11 alphonse.bendt Exp $
- Author:
- Alphonse Bendt
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NAMING_NAME
public static final java.lang.String NAMING_NAME
- See Also:
- Constant Field Values
JBossCOSNotificationService
public JBossCOSNotificationService()
getName
public java.lang.String getName()
getState
public int getState()
getStateString
public java.lang.String getStateString()
jbossInternalLifecycle
public void jbossInternalLifecycle(java.lang.String method)
throws java.lang.Exception
- Throws:
java.lang.Exception
create
public void create()
throws java.lang.Exception
- Throws:
java.lang.Exception
start
public void start()
throws java.lang.Exception
- Throws:
java.lang.Exception
stop
public void stop()
destroy
public void destroy()
createChannel
public java.lang.String createChannel()
getCOSNamingEntry
public java.lang.String getCOSNamingEntry()
setCOSNamingEntry
public void setCOSNamingEntry(java.lang.String cosNamingEntry)
getCorbaloc
public java.lang.String getCorbaloc()
getIOR
public java.lang.String getIOR()
getIORFile
public java.lang.String getIORFile()
setIORFile
public void setIORFile(java.lang.String filename)
throws java.io.IOException
- Throws:
java.io.IOException
setAdditionalArguments
public void setAdditionalArguments(java.lang.String additionalArguments)
getAdditionalArguments
public java.lang.String getAdditionalArguments()
startService
protected void startService()
throws java.lang.Exception
- Throws:
java.lang.Exception
stopService
protected void stopService()
throws java.lang.Exception
- Throws:
java.lang.Exception
getObjectInstance
public java.lang.Object getObjectInstance(java.lang.Object obj,
javax.naming.Name name,
javax.naming.Context nameCtx,
java.util.Hashtable environment)
throws java.lang.Exception
- Specified by:
getObjectInstance
in interface javax.naming.spi.ObjectFactory
- Throws:
java.lang.Exception