| |
|
| java.lang.Object com.nabhinc.ws.server.InterceptorInfo
InterceptorInfo | public class InterceptorInfo (Code) | | This class maintains all configuration information related to an
interceptor. In addition it takes care of managing interceptor life-cycle.
author: Padmanabh Dabke author: (c) 2005 Nabh Information Systems, Inc. All Rights Reserved. |
description | public String description(Code) | | Interceptor description
|
displayName | public String displayName(Code) | | Interceptor display name
|
interceptor | public Interceptor interceptor(Code) | | Interceptor instance. Non-null if loaded.
|
interceptorClass | public String interceptorClass(Code) | | Interceptor class
|
isCritical | public boolean isCritical(Code) | | Flag indicating if the interceptor is critical to
the Web service invocation. If an interceptor is marked
critical, the service invocation will fail if the interceptor
throws an exception.
|
loadError | public Throwable loadError(Code) | | Error encountered during interceptor loading/invocation
|
manualLoad | public boolean manualLoad(Code) | | Flag indicating if this interceptor should be automatically
loaded.
|
startTime | public long startTime(Code) | | Time at which the interceptor was loaded/started.
|
status | public int status(Code) | | Interceptor load status
|
serialize | public void serialize(String indent, String delta, Writer w) throws IOException(Code) | | Constructs an XML representation of the interceptor configuratin and
writes it to the provided writer
Parameters: indent - Base indent for formatting the XML Parameters: delta - Increment added to go to the next indent level Parameters: w - Writer to which the serialized config is written throws: IOException - |
setPropertiesInfo | public void setPropertiesInfo(PropertyInfo[] newProps) throws WebServiceException(Code) | | Stores the new interceptor properties. If the interceptor is running,
it attempts to set the properties on the running instance.
Parameters: newProps - New interceptor properties throws: ServletException - |
unload | public void unload()(Code) | | Destroys the interceptor if running and resets load state.
|
|
|
|