org.apache.commons.digester.plugins

Interface InitializableRule

Known Implementing Classes:
PluginCreateRule

public interface InitializableRule

Defines an interface that a Rule class can implement if it wishes to get an initialisation callback after the rule has been added to the set of Rules within a PluginRules instance.
Since:
1.6

Method Summary

void
postRegisterInit(String pattern)
Called after this Rule object has been added to the list of all Rules.

Method Details

postRegisterInit

public void postRegisterInit(String pattern)
            throws PluginConfigurationException
Called after this Rule object has been added to the list of all Rules. Note that if a single InitializableRule instance is associated with more than one pattern, then this method will be called more than once.
Parameters:
pattern - is the digester match pattern that will trigger this rule.
Throws:
PluginConfigurationException - is thrown if the InitializableRule determines that it cannot correctly initialise itself for any reason.

Copyright 2001-2005 The Apache Software Foundation.