|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.portal.registration.impl.ConsumerImpl
public class ConsumerImpl
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
|
ConsumerCapabilities |
getCapabilities()
|
java.lang.String |
getConsumerAgent()
|
ConsumerGroup |
getGroup()
Returns the group that this consumer belongs to. |
java.lang.String |
getId()
Retrieves this Consumer's identity, which uniquely identifies the Consumer since the name cannot be relied on. |
java.lang.String |
getName()
Return the consumer name. |
java.util.Collection |
getRegistrations()
Return all the registrations for the specified consumer. |
RegistrationStatus |
getStatus()
Return the registration status of the consumer entity. |
int |
hashCode()
|
void |
setCapabilities(ConsumerCapabilities capabilities)
|
void |
setConsumerAgent(java.lang.String consumerAgent)
|
void |
setGroup(ConsumerGroup group)
|
void |
setStatus(RegistrationStatus status)
Set the registration status of the consumer entity. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String getName()
Consumer
getName in interface Consumerpublic java.lang.String getId()
ConsumerRegistrationPolicy to determine what the Consumer's identity is. Note also that this is
different from the Consumer's database identifier.
getId in interface Consumerpublic java.lang.String getConsumerAgent()
getConsumerAgent in interface Consumer
public void setConsumerAgent(java.lang.String consumerAgent)
throws java.lang.IllegalArgumentException,
java.lang.IllegalStateException
setConsumerAgent in interface Consumerjava.lang.IllegalArgumentException
java.lang.IllegalStateExceptionpublic ConsumerCapabilities getCapabilities()
getCapabilities in interface Consumerpublic void setCapabilities(ConsumerCapabilities capabilities)
setCapabilities in interface Consumerpublic RegistrationStatus getStatus()
Consumer
getStatus in interface Consumerpublic void setStatus(RegistrationStatus status)
Consumer
setStatus in interface Consumerstatus - the registration status
public java.util.Collection getRegistrations()
throws RegistrationException
Consumer
getRegistrations in interface ConsumerRegistrationExceptionpublic ConsumerGroup getGroup()
Consumer
getGroup in interface Consumer
public void setGroup(ConsumerGroup group)
throws RegistrationException
setGroup in interface ConsumerRegistrationException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||