Provides a default implementation of RegistrationPolicy which should be enough for most user needs provided the
appropriate
RegistrationPropertyValidator has been configured to validate registration properties.
author: Chris Laprun version: $Revision: 9180 $ since: 2.6
validateConsumerName(String consumerName) Rejects registration if a Consumer with the specified name already exists.
public void
validateRegistrationDataFor(Map registrationProperties, String consumerIdentity) Only accepts the registration if no registration with identical values exists for the Consumer identified by the
specified identify and delegates the validation of properties to the configured RegistrationPropertyValidator.
Instructs this policy to use the specified RegistrationPropertyValidator. There shouldn't be any need to call this
method manually, as the validator is configured via the WSRP Producer xml configuration file.
Parameters: validator -
Only accepts the registration if no registration with identical values exists for the Consumer identified by the
specified identify and delegates the validation of properties to the configured RegistrationPropertyValidator.
throws: DuplicateRegistrationException - if a Consumer with the same identity has already registered with the sameregistration properties.
Methods inherited from org.jboss.portal.jems.as.system.AbstractJBossService