public interface ConfigProcessor
This interface provides a CoR structure for processing JSF configuration resources.
Modifier and Type | Method and Description |
---|---|
void |
destroy(javax.servlet.ServletContext sc) |
void |
destroyNext(javax.servlet.ServletContext sc) |
ConfigProcessor |
getNext()
Return the next config processor in the chain, or null.
|
void |
initializeClassMetadataMap(javax.servlet.ServletContext sc) |
void |
invokeNext(javax.servlet.ServletContext sc,
DocumentInfo[] documentInfos)
Invoke the
ConfigProcess specified by
a call to setNext(ConfigProcessor) , if any. |
void |
process(javax.servlet.ServletContext sc,
DocumentInfo[] documentInfos)
Process the array of
Document s. |
void |
setNext(ConfigProcessor nextProcessor)
Set the next
ConfigProcessor to be invoked once
process(javax.servlet.ServletContext,com.sun.faces.config.DocumentInfo[])
has completed. |
void setNext(ConfigProcessor nextProcessor)
Set the next ConfigProcessor
to be invoked once
process(javax.servlet.ServletContext,com.sun.faces.config.DocumentInfo[])
has completed.
nextProcessor
- the next processor in the chain to be invokedConfigProcessor getNext()
Return the next config processor in the chain, or null.
void initializeClassMetadataMap(javax.servlet.ServletContext sc)
void process(javax.servlet.ServletContext sc, DocumentInfo[] documentInfos) throws java.lang.Exception
Process the array of Document
s.
sc
- the ServletContext
for the application being configureddocumentInfos
- @throws Exception if an error occurs during processingjava.lang.Exception
void destroy(javax.servlet.ServletContext sc)
void invokeNext(javax.servlet.ServletContext sc, DocumentInfo[] documentInfos) throws java.lang.Exception
Invoke the ConfigProcess
specified by
a call to setNext(ConfigProcessor)
, if any.
sc
- the ServletContext
for the application being configureddocumentInfos
- @throws Exception if an error occurs invoking the next processorjava.lang.Exception
void destroyNext(javax.servlet.ServletContext sc)
Copyright © 2002-2013 Oracle America, Inc. All Rights Reserved.