|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.portal.registration.impl.ConsumerGroupImpl
public class ConsumerGroupImpl
Method Summary | |
---|---|
void |
addConsumer(Consumer consumer)
|
boolean |
contains(Consumer consumer)
|
boolean |
equals(java.lang.Object o)
|
Consumer |
getConsumer(java.lang.String consumerId)
Return the member Consumer associated with the given identifier |
java.util.Collection |
getConsumers()
Return a collection of associated consumers. |
java.lang.String |
getName()
Return this ConsumerGroup's name (i.e. |
RegistrationStatus |
getStatus()
|
int |
hashCode()
|
boolean |
isEmpty()
|
void |
removeConsumer(Consumer consumer)
|
void |
setStatus(RegistrationStatus status)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public java.lang.String getName()
ConsumerGroup
getName
in interface ConsumerGroup
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public RegistrationStatus getStatus()
getStatus
in interface ConsumerGroup
public void setStatus(RegistrationStatus status)
setStatus
in interface ConsumerGroup
public java.util.Collection getConsumers() throws RegistrationException
ConsumerGroup
getConsumers
in interface ConsumerGroup
RegistrationException
public Consumer getConsumer(java.lang.String consumerId) throws java.lang.IllegalArgumentException, RegistrationException
ConsumerGroup
getConsumer
in interface ConsumerGroup
null
if no such Consumer is part of this
ConsumerGroup
java.lang.IllegalArgumentException
- if the consumer identity is null
RegistrationException
public boolean isEmpty()
isEmpty
in interface ConsumerGroup
public void addConsumer(Consumer consumer) throws RegistrationException
addConsumer
in interface ConsumerGroup
RegistrationException
public void removeConsumer(Consumer consumer) throws RegistrationException
removeConsumer
in interface ConsumerGroup
RegistrationException
public boolean contains(Consumer consumer)
contains
in interface ConsumerGroup
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |