org.jacorb.notification.jmx.jboss
Class JBossCOSNotificationService

java.lang.Object
  extended by ServiceMBeanSupport
      extended by 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

Field Summary
static String NAMING_NAME
           
 
Constructor Summary
JBossCOSNotificationService()
           
 
Method Summary
 void create()
           
 String createChannel()
           
 void destroy()
           
 String getAdditionalArguments()
           
 String getCorbaloc()
           
 String getCOSNamingEntry()
           
 String getIOR()
           
 String getIORFile()
           
 String getName()
           
 Object getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable environment)
           
 int getState()
           
 String getStateString()
           
 void jbossInternalLifecycle(String method)
           
 void setAdditionalArguments(String additionalArguments)
           
 void setCOSNamingEntry(String cosNamingEntry)
           
 void setIORFile(String filename)
           
 void start()
           
protected  void startService()
           
 void stop()
           
protected  void stopService()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAMING_NAME

public static final String NAMING_NAME
See Also:
Constant Field Values
Constructor Detail

JBossCOSNotificationService

public JBossCOSNotificationService()
Method Detail

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.