org.mule.config.spring.parsers.processors
Class RequireAttribute

java.lang.Object
  extended by org.mule.config.spring.parsers.processors.RequireAttribute
All Implemented Interfaces:
PreProcessor

public class RequireAttribute
extends Object
implements PreProcessor

Throws an exception if any of the required attributes (after translation) are missing. Designed to cooperates with AbstractSerialDelegatingDefinitionParser.addHandledException(Class)


Nested Class Summary
static class RequireAttribute.RequireAttributeException
           
 
Constructor Summary
RequireAttribute(String required)
           
RequireAttribute(String[] required)
           
 
Method Summary
 void preProcess(PropertyConfiguration config, Element element)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequireAttribute

public RequireAttribute(String required)

RequireAttribute

public RequireAttribute(String[] required)
Method Detail

preProcess

public void preProcess(PropertyConfiguration config,
                       Element element)
Specified by:
preProcess in interface PreProcessor


Copyright © 2003-2009 MuleSource, Inc.. All Rights Reserved.