org.apache.axis.transport.http
Class AutoRegisterServlet
public class AutoRegisterServlet
Servlet that autoregisters
- Steve Loughran
xdoclet tags are not active yet; keep web.xml in sync
protected void | applyAndSaveSettings()- actually update the engine and save the settings
|
protected void | autoRegister()- register classes, log exceptions
|
String[] | getResourcesToRegister()- subclass this to return an array of resource names.
|
void | init()- init by registering
|
protected void | logSuccess(String item)- handler for logging success, defaults to handing off to logging
at debug level
|
void | registerAndLogResource(String resource)- register a single resource; log trouble and success.
|
protected void | registerAnythingElse()- override point for subclasses to add other registration stuff
|
void | registerFile(File file)- register a file
|
void | registerResource(String resourcename)- register a resource
|
void | registerStream(InputStream instream)- register an open stream, which we close afterwards
|
decLockCounter, destroy, getEngine, getEngine, getEngineEnvironment, getHomeDir, getLoadCounter, getOption, getServletContext, getWebInfPath, getWebappBase, incLockCounter, init, isDevelopment, service |
autoRegister
protected void autoRegister()
register classes, log exceptions
getResourcesToRegister
public String[] getResourcesToRegister()
subclass this to return an array of resource names.
- array of resource names of wsdd files, or null
init
public void init()
throws javax.servlet.ServletException init by registering
- init in interface AxisServletBase
logSuccess
protected void logSuccess(String item)
handler for logging success, defaults to handing off to logging
at debug level
item - what were we loading?
registerAndLogResource
public void registerAndLogResource(String resource)
register a single resource; log trouble and success.
registerAnythingElse
protected void registerAnythingElse()
override point for subclasses to add other registration stuff
registerFile
public void registerFile(File file)
throws IOException,
SAXException,
ParserConfigurationException register a file
registerResource
public void registerResource(String resourcename)
throws SAXException,
ParserConfigurationException,
IOException register a resource
registerStream
public void registerStream(InputStream instream)
throws SAXException,
ParserConfigurationException,
IOException register an open stream, which we close afterwards
Copyright © 2005 Apache Web Services Project. All Rights Reserved.