org.jacorb.notification.jmx.jboss

Class JBossCOSNotificationService

public class JBossCOSNotificationService extends ServiceMBeanSupport implements JBossCOSNotificationServiceMBean, 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

UNKNOWN: name = "JBossCOSNotificationService" extends = "org.jboss.system.ServiceMBean" persistPolicy = "OnUpdate" persistPeriod = "10" persistLocation = "${jboss.server.data.dir}" persistName = "COSNotification.ser" state-action-on-update = "keep-running" persistence-manager = "org.jboss.mx.persistence.ObjectStreamPersistenceManager"

Field Summary
static StringNAMING_NAME
Method Summary
voidcreate()
StringcreateChannel()
voiddestroy()
StringgetAdditionalArguments()
StringgetCorbaloc()
StringgetCOSNamingEntry()
StringgetIOR()
StringgetIORFile()
StringgetName()
ObjectgetObjectInstance(Object obj, Name name, Context nameCtx, Hashtable environment)
intgetState()
StringgetStateString()
voidjbossInternalLifecycle(String method)
voidsetAdditionalArguments(String additionalArguments)
voidsetCOSNamingEntry(String cosNamingEntry)
voidsetIORFile(String filename)
voidstart()
protected voidstartService()
voidstop()
protected voidstopService()

Field Detail

NAMING_NAME

public static final String NAMING_NAME

Method Detail

create

public void create()

UNKNOWN: description = "create the service, do expensive operations etc" impact = "ACTION"

createChannel

public String createChannel()

UNKNOWN: description="create a new channel" impact = "ACTION"

destroy

public void destroy()

UNKNOWN: description = "destroy the service, tear down" impact = "ACTION"

getAdditionalArguments

public String getAdditionalArguments()

UNKNOWN: description = "Additional startup arguments. Setting these on an already running service will have no effect!" access = "read-write"

getCorbaloc

public String getCorbaloc()

UNKNOWN: description="Corbaloc to access the EventChannelFactory" access = "read-only"

getCOSNamingEntry

public String getCOSNamingEntry()

UNKNOWN: description = "NameService Entry (Optional)" access = "read-write"

getIOR

public String getIOR()

UNKNOWN: description="IOR to access the EventChannelFactory" access = "read-only"

getIORFile

public String getIORFile()

UNKNOWN: description = "Filename the IOR should be written to" access = "read-write"

getName

public String getName()

UNKNOWN: access = "read-only"

getObjectInstance

public Object getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable environment)

getState

public int getState()

UNKNOWN: access = "read-only"

getStateString

public String getStateString()

UNKNOWN: access = "read-only"

jbossInternalLifecycle

public void jbossInternalLifecycle(String method)

UNKNOWN: description = "Detyped lifecycle invocation" impact = "ACTION"

setAdditionalArguments

public void setAdditionalArguments(String additionalArguments)

UNKNOWN: access = "read-write"

setCOSNamingEntry

public void setCOSNamingEntry(String cosNamingEntry)

UNKNOWN: access = "read-write"

setIORFile

public void setIORFile(String filename)

UNKNOWN: access = "read-write"

start

public void start()

UNKNOWN: description = "start the service, create is already called" impact = "ACTION"

startService

protected void startService()

stop

public void stop()

UNKNOWN: description = "stop the service" impact = "ACTION"

stopService

protected void stopService()