|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RegistrationPersistenceManager
Method Summary | |
---|---|
Consumer |
addConsumerToGroupNamed(java.lang.String consumerId,
java.lang.String groupName)
|
Registration |
addRegistrationFor(java.lang.String consumerId,
java.util.Map registrationProperties)
|
Consumer |
createConsumer(java.lang.String consumerId,
java.lang.String consumerName)
Creates a Consumer with the specified identity and name (which might be the same, depending on the policy) |
ConsumerGroup |
createConsumerGroup(java.lang.String name)
Creates a new ConsumerGroup with the associated name. |
Consumer |
getConsumerById(java.lang.String consumerId)
Return an existing consumer from its id. |
ConsumerGroup |
getConsumerGroup(java.lang.String name)
Retrieves the ConsumerGroup identified by the specified name. |
java.util.Collection |
getConsumerGroups()
|
java.util.Collection |
getConsumers()
|
Registration |
getRegistration(java.lang.String registrationId)
|
java.util.Collection |
getRegistrations()
|
void |
removeConsumer(java.lang.String consumerId)
|
void |
removeConsumerGroup(java.lang.String name)
|
void |
removeRegistration(java.lang.String registrationId)
|
Method Detail |
---|
Consumer createConsumer(java.lang.String consumerId, java.lang.String consumerName) throws RegistrationException
consumerId
- consumerName
-
RegistrationException
ConsumerGroup getConsumerGroup(java.lang.String name) throws RegistrationException
name
- the name of the group to be retrieved
RegistrationException
ConsumerGroup createConsumerGroup(java.lang.String name) throws RegistrationException
name
- the name of the ConsumerGroup to be created
RegistrationException
void removeConsumerGroup(java.lang.String name) throws RegistrationException
RegistrationException
void removeConsumer(java.lang.String consumerId) throws RegistrationException
RegistrationException
void removeRegistration(java.lang.String registrationId) throws RegistrationException
RegistrationException
Consumer getConsumerById(java.lang.String consumerId) throws java.lang.IllegalArgumentException, RegistrationException
consumerId
- the consumer id
java.lang.IllegalArgumentException
- if the consumer id argument is null
RegistrationException
Registration addRegistrationFor(java.lang.String consumerId, java.util.Map registrationProperties) throws RegistrationException
RegistrationException
java.util.Collection getConsumerGroups()
Registration getRegistration(java.lang.String registrationId)
Consumer addConsumerToGroupNamed(java.lang.String consumerId, java.lang.String groupName) throws RegistrationException
RegistrationException
java.util.Collection getConsumers()
java.util.Collection getRegistrations()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |