net.sourceforge.hiveevents
Class ChannelContribution

java.lang.Object
  extended by org.apache.hivemind.impl.BaseLocatable
      extended by net.sourceforge.hiveevents.ChannelContribution
All Implemented Interfaces:
org.apache.hivemind.Locatable, org.apache.hivemind.LocationHolder

public class ChannelContribution
extends org.apache.hivemind.impl.BaseLocatable

Represents a configuration parameter to the ChannelRepository service. Each instance defines an event channel.

Author:
Jean-Francois Poilpret

Constructor Summary
ChannelContribution()
           
 
Method Summary
 java.lang.Class getEventClass()
           
 java.lang.String getName()
           
 int getPullConsumerPriority()
           
 boolean isLogEvents()
           
 boolean isThreadSafe()
           
 void setEventClass(java.lang.Class eventClass)
           
 void setLogEvents(boolean logEvents)
           
 void setName(java.lang.String name)
           
 void setPullConsumerPriority(int pullConsumerPriority)
           
 void setThreadSafe(boolean threadSafe)
           
 java.lang.String toString()
           
 
Methods inherited from class org.apache.hivemind.impl.BaseLocatable
getLocation, setLocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ChannelContribution

public ChannelContribution()
Method Detail

setName

public void setName(java.lang.String name)

getName

public java.lang.String getName()

setThreadSafe

public void setThreadSafe(boolean threadSafe)

isThreadSafe

public boolean isThreadSafe()

setLogEvents

public void setLogEvents(boolean logEvents)

isLogEvents

public boolean isLogEvents()

setEventClass

public void setEventClass(java.lang.Class eventClass)

getEventClass

public java.lang.Class getEventClass()

setPullConsumerPriority

public void setPullConsumerPriority(int pullConsumerPriority)

getPullConsumerPriority

public int getPullConsumerPriority()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object