com.liferay.portal.kernel.resiliency.spi.remote
Class RemoteSPIProxy
java.lang.Object
com.liferay.portal.kernel.resiliency.spi.remote.RemoteSPIProxy
- All Implemented Interfaces:
- SPI, java.io.Serializable, java.rmi.Remote
public class RemoteSPIProxy
- extends java.lang.Object
- implements SPI
- Author:
- Shuyang Zhou
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RemoteSPIProxy
public RemoteSPIProxy(SPI spi,
SPIConfiguration spiConfiguration,
java.lang.String spiProviderName,
java.util.concurrent.Future<SPI> cancelHandlerFuture,
RegistrationReference registrationReference)
addServlet
public void addServlet(java.lang.String contextPath,
java.lang.String docBasePath,
java.lang.String mappingPattern,
java.lang.String servletClassName)
throws java.rmi.RemoteException
- Specified by:
addServlet in interface SPI
- Throws:
java.rmi.RemoteException
addWebapp
public void addWebapp(java.lang.String contextPath,
java.lang.String docBasePath)
throws java.rmi.RemoteException
- Specified by:
addWebapp in interface SPI
- Throws:
java.rmi.RemoteException
destroy
public void destroy()
- Specified by:
destroy in interface SPI
getMPI
public MPI getMPI()
- Specified by:
getMPI in interface SPI
getRegistrationReference
public RegistrationReference getRegistrationReference()
- Specified by:
getRegistrationReference in interface SPI
getSPIAgent
public SPIAgent getSPIAgent()
- Specified by:
getSPIAgent in interface SPI
getSPIConfiguration
public SPIConfiguration getSPIConfiguration()
- Specified by:
getSPIConfiguration in interface SPI
getSPIProviderName
public java.lang.String getSPIProviderName()
- Specified by:
getSPIProviderName in interface SPI
init
public void init()
throws java.rmi.RemoteException
- Specified by:
init in interface SPI
- Throws:
java.rmi.RemoteException
isAlive
public boolean isAlive()
throws java.rmi.RemoteException
- Specified by:
isAlive in interface SPI
- Throws:
java.rmi.RemoteException
start
public void start()
throws java.rmi.RemoteException
- Specified by:
start in interface SPI
- Throws:
java.rmi.RemoteException
stop
public void stop()
throws java.rmi.RemoteException
- Specified by:
stop in interface SPI
- Throws:
java.rmi.RemoteException
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object