|
|||||||||
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.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String getName()
Consumer
getName
in interface Consumer
public java.lang.String getId()
Consumer
RegistrationPolicy
to determine what the Consumer's identity is. Note also that this is
different from the Consumer's database identifier.
getId
in interface Consumer
public 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 Consumer
java.lang.IllegalArgumentException
java.lang.IllegalStateException
public ConsumerCapabilities getCapabilities()
getCapabilities
in interface Consumer
public void setCapabilities(ConsumerCapabilities capabilities)
setCapabilities
in interface Consumer
public RegistrationStatus getStatus()
Consumer
getStatus
in interface Consumer
public void setStatus(RegistrationStatus status)
Consumer
setStatus
in interface Consumer
status
- the registration statuspublic java.util.Collection getRegistrations() throws RegistrationException
Consumer
getRegistrations
in interface Consumer
RegistrationException
public ConsumerGroup getGroup()
Consumer
getGroup
in interface Consumer
public void setGroup(ConsumerGroup group) throws RegistrationException
setGroup
in interface Consumer
RegistrationException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |