org.jacorb.notification.jmx.jboss
Class JBossCOSNotificationService
java.lang.Object
ServiceMBeanSupport
org.jacorb.notification.jmx.jboss.JBossCOSNotificationService
- All Implemented Interfaces:
- ObjectFactory
public class JBossCOSNotificationService
- extends ServiceMBeanSupport
- implements ObjectFactory
Adaptor to run a JMX-enabled NotificationService inside of JBoss.
- 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 String NAMING_NAME
- See Also:
- Constant Field Values
JBossCOSNotificationService
public JBossCOSNotificationService()
getName
public String getName()
getState
public int getState()
getStateString
public String getStateString()
jbossInternalLifecycle
public void jbossInternalLifecycle(String method)
throws Exception
- Throws:
Exception
create
public void create()
throws Exception
- Throws:
Exception
start
public void start()
throws Exception
- Throws:
Exception
stop
public void stop()
destroy
public void destroy()
createChannel
public String createChannel()
getCOSNamingEntry
public String getCOSNamingEntry()
setCOSNamingEntry
public void setCOSNamingEntry(String cosNamingEntry)
getCorbaloc
public String getCorbaloc()
getIOR
public String getIOR()
getIORFile
public String getIORFile()
setIORFile
public void setIORFile(String filename)
throws IOException
- Throws:
IOException
setAdditionalArguments
public void setAdditionalArguments(String additionalArguments)
getAdditionalArguments
public String getAdditionalArguments()
startService
protected void startService()
throws Exception
- Throws:
Exception
stopService
protected void stopService()
throws Exception
- Throws:
Exception
getObjectInstance
public Object getObjectInstance(Object obj,
Name name,
Context nameCtx,
Hashtable environment)
throws Exception
- Specified by:
getObjectInstance in interface ObjectFactory
- Throws:
Exception
Copyright © 2015 JacORB. All rights reserved.