org.openanzo.server.repository.publisher
Interface EventPublisherMBean

All Superinterfaces:
IServerServiceMBean
All Known Implementing Classes:
EventPublisher

public interface EventPublisherMBean
extends IServerServiceMBean

MBean interface to expose the EventPublisher to JMX

Author:
Matthew Roy ( mroy@cambridgesemantics.com )

Method Summary
 void flushQueue()
          Flush the contents of the publish queue
 java.lang.String getJmsHost()
          Get the JMS hostname
 java.lang.String getJmsJndiConnectionFactory()
          Get the JNDI name of the Connection Factory
 java.lang.String getJmsJndiUpdateQueueName()
          Get the JNDI name of the UpdateQueue
 java.lang.String getJmsPassword()
          Get the JMS password
 int getJmsPort()
          Get the JMS port
 java.lang.String getJmsProviderClass()
          Get the name of the JmsProvider class
 java.lang.String getJmsUpdateQueueName()
          Get the name of the UpdateQueue
 java.lang.String getJmsUser()
          Get the JMS user name
 int getMaxQueueSize()
          Get the max size of the publish queue
 boolean getPublishUpdateEvents()
          Determine if the service is set to publish update events
 int getQueueSize()
          Get the number of message on the publish queue
 void setJmsHost(java.lang.String host)
          Set the JMS host name
 void setJmsJndiConnectionFactoryName(java.lang.String jndiConnectionFactoryName)
          Set the JNDI name of the connection factory
 void setJmsJndiUpdateQueueName(java.lang.String jndiUpdateQueueName)
          Set the JNDI name of the UpdateQueue
 void setJmsPassword(java.lang.String password)
          Set the JMS password
 void setJmsPort(int port)
          Set the JMS port
 void setJmsProviderClass(java.lang.String providerClass)
          Set the class name of the JMS Provider
 void setJmsUpdateQueueName(java.lang.String updateQueue)
          Set the name of the Update Queue
 void setJmsUser(java.lang.String name)
          Set the JMS user name
 void setMaxQueueSize(int queueSize)
          Set the max size of the publish queue
 void setPublishUpdateEvents(boolean publishUpdateEvents)
          Set if the service is set to publish update events
 
Methods inherited from interface org.openanzo.server.repository.IServerServiceMBean
getIsStarted, start, stop
 

Method Detail

getMaxQueueSize

int getMaxQueueSize()
Get the max size of the publish queue

Returns:
the max size of the publish queue

setMaxQueueSize

void setMaxQueueSize(int queueSize)
Set the max size of the publish queue

Parameters:
queueSize - max size of the publish queue

flushQueue

void flushQueue()
Flush the contents of the publish queue


getQueueSize

int getQueueSize()
Get the number of message on the publish queue

Returns:
the number of message on the publish queueF

getJmsProviderClass

java.lang.String getJmsProviderClass()
Get the name of the JmsProvider class

Returns:
the name of the JmsProvider class

getJmsJndiConnectionFactory

java.lang.String getJmsJndiConnectionFactory()
Get the JNDI name of the Connection Factory

Returns:
the JNDI name of the Connection Factory

getJmsUser

java.lang.String getJmsUser()
Get the JMS user name

Returns:
the JMS user name

getJmsPassword

java.lang.String getJmsPassword()
Get the JMS password

Returns:
the JMS password

getJmsHost

java.lang.String getJmsHost()
Get the JMS hostname

Returns:
the JMS hostname

getJmsPort

int getJmsPort()
Get the JMS port

Returns:
the JMS port

getJmsJndiUpdateQueueName

java.lang.String getJmsJndiUpdateQueueName()
Get the JNDI name of the UpdateQueue

Returns:
the JNDI name of the UpdateQueue

getJmsUpdateQueueName

java.lang.String getJmsUpdateQueueName()
Get the name of the UpdateQueue

Returns:
the name of the UpdateQueue

setJmsProviderClass

void setJmsProviderClass(java.lang.String providerClass)
Set the class name of the JMS Provider

Parameters:
providerClass - the class name of the JMS Provider

setJmsJndiConnectionFactoryName

void setJmsJndiConnectionFactoryName(java.lang.String jndiConnectionFactoryName)
Set the JNDI name of the connection factory

Parameters:
jndiConnectionFactoryName - the JNDI name of the connection factory

setJmsUser

void setJmsUser(java.lang.String name)
Set the JMS user name

Parameters:
name - the JMS user name

setJmsPassword

void setJmsPassword(java.lang.String password)
Set the JMS password

Parameters:
password - the JMS password

setJmsHost

void setJmsHost(java.lang.String host)
Set the JMS host name

Parameters:
host - the JMS host name

setJmsPort

void setJmsPort(int port)
Set the JMS port

Parameters:
port - the JMS port

setJmsJndiUpdateQueueName

void setJmsJndiUpdateQueueName(java.lang.String jndiUpdateQueueName)
Set the JNDI name of the UpdateQueue

Parameters:
jndiUpdateQueueName - the JNDI name of the UpdateQueue

setJmsUpdateQueueName

void setJmsUpdateQueueName(java.lang.String updateQueue)
Set the name of the Update Queue

Parameters:
updateQueue - the name of the Update Queue

getPublishUpdateEvents

boolean getPublishUpdateEvents()
Determine if the service is set to publish update events

Returns:
true if the service is set to publish update events

setPublishUpdateEvents

void setPublishUpdateEvents(boolean publishUpdateEvents)
Set if the service is set to publish update events

Parameters:
publishUpdateEvents - if the service is set to publish update events


Copyright © 2007 Cambridge Semantics Inc.. All Rights Reserved.