public interface ConfigurationProcessor
A file in non-XmlConfiguration file format may be processed by a ConfigurationProcessor
instance that is returned from a ConfigurationProcessorFactory
instance discovered by the
ServiceLoader
mechanism. This is used to allow spring configuration files to be used instead of
jetty.xml
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
configure() |
java.lang.Object |
configure(java.lang.Object obj) |
default void |
init(Resource resource,
XmlParser.Node root,
XmlConfiguration configuration)
Initialize a ConfigurationProcessor from provided Resource and XML
|
void |
init(java.net.URL url,
XmlParser.Node root,
XmlConfiguration configuration)
Deprecated.
use
init(Resource, XmlParser.Node, XmlConfiguration) instead |
@Deprecated void init(java.net.URL url, XmlParser.Node root, XmlConfiguration configuration)
init(Resource, XmlParser.Node, XmlConfiguration)
insteaddefault void init(Resource resource, XmlParser.Node root, XmlConfiguration configuration)
resource
- the resource being readroot
- the parsed XML root node for the resourceconfiguration
- the configuration being used (typically for ref IDs)java.lang.Object configure(java.lang.Object obj) throws java.lang.Exception
java.lang.Exception
java.lang.Object configure() throws java.lang.Exception
java.lang.Exception