public interface RegistrationPropertyValidator (Code)
An interface providing an entry point for WSRP deployers to plug their registration property validation mechanism in
org.jboss.portal.registration.policies.DefaultRegistrationPolicy . Implementations of this interface
MUST provide a no-argument constructor for instantiation from the class name.
author: Chris Laprun version: $Revision: 8784 $ since: 2.6
Method Summary
void
validateValueFor(QName propertyName, Object value) Validates the given value for the registration property identified by the specified name.
Validates the given value for the registration property identified by the specified name. If the value is
acceptable, the method simply returns. An invalid value will raise an exception.
Parameters: propertyName - the qualified name for the property name Parameters: value - the value that needs to be validated throws: IllegalArgumentException - if the specified value is not acceptable for the specified property.