public abstract class RemoteHttpServlet extends HttpServlet implements Remote
RemoteDaemonHttpServlet
,
Serialized FormModifier and Type | Field and Description |
---|---|
protected Registry |
registry
The registry for the servlet
|
Constructor and Description |
---|
RemoteHttpServlet() |
Modifier and Type | Method and Description |
---|---|
protected void |
bind()
Binds the servlet to the registry.
|
void |
destroy()
Halts the servlet's RMI operations.
|
protected String |
getRegistryName()
Returns the name under which the servlet should be bound in the
registry.
|
protected int |
getRegistryPort()
Returns the port where the registry should be running.
|
void |
init(ServletConfig config)
Begins the servlet's RMI operations.
|
protected void |
unbind()
Unbinds the servlet from the registry.
|
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
public RemoteHttpServlet()
public void init(ServletConfig config) throws ServletException
init
in interface Servlet
init
in class GenericServlet
config
- the servlet configServletException
- if a servlet exception occurspublic void destroy()
destroy
in interface Servlet
destroy
in class GenericServlet
protected String getRegistryName()
protected int getRegistryPort()
protected void bind()
protected void unbind()
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses