com.konakart.rmi
Class KKRMIServer

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by com.konakart.rmi.KKRMIServer
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class KKRMIServer
extends javax.servlet.http.HttpServlet

KonaKart RMI Server for the Application Engine. This is defined to be started in the web.xml of the konakart webapp.

See Also:
Serialized Form

Field Summary
protected static org.apache.commons.logging.Log log
           
 
Constructor Summary
KKRMIServer()
           
 
Method Summary
 void destroy()
           
 int getRmiPort()
           
 void init(javax.servlet.ServletConfig config)
           
 boolean isRmiEnabled()
           
 void setRmiEnabled(boolean rmiEnabled)
           
 void setRmiPort(int rmiPort)
           
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static org.apache.commons.logging.Log log
Constructor Detail

KKRMIServer

public KKRMIServer()
            throws java.rmi.RemoteException,
                   java.net.MalformedURLException,
                   KKException
Throws:
java.rmi.RemoteException
java.net.MalformedURLException
KKException
Method Detail

init

public void init(javax.servlet.ServletConfig config)
          throws javax.servlet.ServletException
Specified by:
init in interface javax.servlet.Servlet
Overrides:
init in class javax.servlet.GenericServlet
Parameters:
config -
Throws:
javax.servlet.ServletException

destroy

public void destroy()
Specified by:
destroy in interface javax.servlet.Servlet
Overrides:
destroy in class javax.servlet.GenericServlet

getRmiPort

public int getRmiPort()
Returns:
the rmiPort

setRmiPort

public void setRmiPort(int rmiPort)
Parameters:
rmiPort - the rmiPort to set

isRmiEnabled

public boolean isRmiEnabled()
Returns:
the rmiEnabled

setRmiEnabled

public void setRmiEnabled(boolean rmiEnabled)
Parameters:
rmiEnabled - the rmiEnabled to set


Copyright © 2011 DS Data Systems UK Ltd.