org.jboss.portal.registration
Interface RegistrationManager
- All Superinterfaces:
- RegistrationPropertyChangeListener
- All Known Implementing Classes:
- RegistrationManagerImpl
public interface RegistrationManager
- extends RegistrationPropertyChangeListener
- Since:
- 2.6
- Version:
- $Revision: 5865 $
- Author:
- Chris Laprun
getPolicy
RegistrationPolicy getPolicy()
setPolicy
void setPolicy(RegistrationPolicy policy)
getPersistenceManager
RegistrationPersistenceManager getPersistenceManager()
setPersistenceManager
void setPersistenceManager(RegistrationPersistenceManager persistenceManager)
addRegistrationTo
Registration addRegistrationTo(java.lang.String consumerName,
java.util.Map registrationProperties,
boolean createConsumerIfNeeded)
throws RegistrationException
- Throws:
RegistrationException
createConsumer
Consumer createConsumer(java.lang.String name)
throws RegistrationException,
InvalidConsumerDataException
- Throws:
RegistrationException
InvalidConsumerDataException
addConsumerToGroupNamed
Consumer addConsumerToGroupNamed(java.lang.String consumerName,
java.lang.String groupName,
boolean createGroupIfNeeded,
boolean createConsumerIfNeeded)
throws RegistrationException
- Throws:
RegistrationException
createConsumerGroup
ConsumerGroup createConsumerGroup(java.lang.String groupName)
throws RegistrationException
- Throws:
RegistrationException
removeConsumer
void removeConsumer(java.lang.String identity)
throws RegistrationException,
NoSuchRegistrationException
- Throws:
RegistrationException
NoSuchRegistrationException
removeConsumer
void removeConsumer(Consumer consumer)
throws RegistrationException,
NoSuchRegistrationException
- Throws:
RegistrationException
NoSuchRegistrationException
getConsumerByIdentity
Consumer getConsumerByIdentity(java.lang.String identity)
throws RegistrationException
- Throws:
RegistrationException
getConsumerFor
Consumer getConsumerFor(java.lang.String registrationHandle)
throws RegistrationException
- Throws:
RegistrationException
getRegistration
Registration getRegistration(java.lang.String registrationHandle)
throws RegistrationException
- Throws:
RegistrationException
removeRegistration
void removeRegistration(java.lang.String registrationHandle)
throws RegistrationException,
NoSuchRegistrationException
- Throws:
RegistrationException
NoSuchRegistrationException
removeRegistration
void removeRegistration(Registration registration)
throws RegistrationException,
NoSuchRegistrationException
- Throws:
RegistrationException
NoSuchRegistrationException
getConsumerGroup
ConsumerGroup getConsumerGroup(java.lang.String groupName)
throws RegistrationException
- Throws:
RegistrationException
getConsumerGroups
java.util.Collection getConsumerGroups()
throws RegistrationException
- Throws:
RegistrationException
removeConsumerGroup
void removeConsumerGroup(ConsumerGroup group)
throws RegistrationException
- Throws:
RegistrationException
removeConsumerGroup
void removeConsumerGroup(java.lang.String name)
throws RegistrationException
- Throws:
RegistrationException
getConsumers
java.util.Collection getConsumers()
throws RegistrationException
- Throws:
RegistrationException
clear
void clear()
throws RegistrationException
- Throws:
RegistrationException