|
|||||||||
| 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 ConsumerGrouppublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic RegistrationStatus getStatus()
getStatus in interface ConsumerGrouppublic void setStatus(RegistrationStatus status)
setStatus in interface ConsumerGroup
public java.util.Collection getConsumers()
throws RegistrationException
ConsumerGroup
getConsumers in interface ConsumerGroupRegistrationException
public Consumer getConsumer(java.lang.String consumerId)
throws java.lang.IllegalArgumentException,
RegistrationException
ConsumerGroup
getConsumer in interface ConsumerGroupnull if no such Consumer is part of this
ConsumerGroup
java.lang.IllegalArgumentException - if the consumer identity is null
RegistrationExceptionpublic boolean isEmpty()
isEmpty in interface ConsumerGroup
public void addConsumer(Consumer consumer)
throws RegistrationException
addConsumer in interface ConsumerGroupRegistrationException
public void removeConsumer(Consumer consumer)
throws RegistrationException
removeConsumer in interface ConsumerGroupRegistrationExceptionpublic boolean contains(Consumer consumer)
contains in interface ConsumerGroup
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||