org.jacorb.notification.jmx.jboss
Class JBossCOSNotificationService
java.lang.Object
ServiceMBeanSupport
org.jacorb.notification.jmx.jboss.JBossCOSNotificationService
- All Implemented Interfaces:
- JBossCOSNotificationServiceMBean, javax.naming.spi.ObjectFactory
- public class JBossCOSNotificationService
- extends ServiceMBeanSupport
- implements JBossCOSNotificationServiceMBean, javax.naming.spi.ObjectFactory
Adaptor to run a JMX-enabled NotificationService inside of JBoss.
- Version:
- $Id: JBossCOSNotificationService.java,v 1.4 2005/11/11 19:24:33 alphonse.bendt Exp $
- Author:
- Alphonse Bendt
- See Also:
- Serialized Form
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()
- Specified by:
getName
in interface JBossCOSNotificationServiceMBean
getState
public int getState()
- Specified by:
getState
in interface JBossCOSNotificationServiceMBean
getStateString
public java.lang.String getStateString()
- Specified by:
getStateString
in interface JBossCOSNotificationServiceMBean
jbossInternalLifecycle
public void jbossInternalLifecycle(java.lang.String method)
throws java.lang.Exception
- Throws:
java.lang.Exception
create
public void create()
throws java.lang.Exception
- Specified by:
create
in interface JBossCOSNotificationServiceMBean
- Throws:
java.lang.Exception
start
public void start()
throws java.lang.Exception
- Specified by:
start
in interface JBossCOSNotificationServiceMBean
- Throws:
java.lang.Exception
stop
public void stop()
- Specified by:
stop
in interface JBossCOSNotificationServiceMBean
destroy
public void destroy()
- Specified by:
destroy
in interface JBossCOSNotificationServiceMBean
createChannel
public java.lang.String createChannel()
- Specified by:
createChannel
in interface JBossCOSNotificationServiceMBean
getCOSNamingEntry
public java.lang.String getCOSNamingEntry()
- Specified by:
getCOSNamingEntry
in interface JBossCOSNotificationServiceMBean
setCOSNamingEntry
public void setCOSNamingEntry(java.lang.String cosNamingEntry)
- Specified by:
setCOSNamingEntry
in interface JBossCOSNotificationServiceMBean
getCorbaloc
public java.lang.String getCorbaloc()
- Specified by:
getCorbaloc
in interface JBossCOSNotificationServiceMBean
getIOR
public java.lang.String getIOR()
- Specified by:
getIOR
in interface JBossCOSNotificationServiceMBean
getIORFile
public java.lang.String getIORFile()
- Specified by:
getIORFile
in interface JBossCOSNotificationServiceMBean
setIORFile
public void setIORFile(java.lang.String filename)
throws java.io.IOException
- Specified by:
setIORFile
in interface JBossCOSNotificationServiceMBean
- Throws:
java.io.IOException
setAdditionalArguments
public void setAdditionalArguments(java.lang.String additionalArguments)
- Specified by:
setAdditionalArguments
in interface JBossCOSNotificationServiceMBean
getAdditionalArguments
public java.lang.String getAdditionalArguments()
- Specified by:
getAdditionalArguments
in interface JBossCOSNotificationServiceMBean
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