001    package biz.hammurapi.configx;
002    
003    import org.apache.xmlbeans.XmlObject;
004    
005    import biz.hammurapi.config.ConfigurationException;
006    
007    /**
008     * Classes which can be configured with XmlObject shall implement this
009     * interface.
010     * @author Pavel
011     */
012    public interface XmlConfigurable {
013    
014            /**
015             * Configures object.
016             * @param spec
017             * @throws ConfigurationException
018             */
019            void configure(XmlObject spec) throws ConfigurationException;
020    }