com.liferay.portal.kernel.resiliency.spi.remote
Class RemoteSPIProxy
java.lang.Object
com.liferay.portal.kernel.resiliency.spi.remote.RemoteSPIProxy
- All Implemented Interfaces:
- SPI, Serializable, Remote
public class RemoteSPIProxy
- extends Object
- implements SPI
- See Also:
- Serialized Form
RemoteSPIProxy
public RemoteSPIProxy(SPI spi,
SPIConfiguration spiConfiguration,
String spiProviderName,
Future<SPI> cancelHandlerFuture,
RegistrationReference registrationReference)
addServlet
public void addServlet(String contextPath,
String docBasePath,
String mappingPattern,
String servletClassName)
throws RemoteException
- Specified by:
addServlet
in interface SPI
- Throws:
RemoteException
addWebapp
public void addWebapp(String contextPath,
String docBasePath)
throws RemoteException
- Specified by:
addWebapp
in interface SPI
- Throws:
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 String getSPIProviderName()
- Specified by:
getSPIProviderName
in interface SPI
init
public void init()
throws RemoteException
- Specified by:
init
in interface SPI
- Throws:
RemoteException
isAlive
public boolean isAlive()
throws RemoteException
- Specified by:
isAlive
in interface SPI
- Throws:
RemoteException
start
public void start()
throws RemoteException
- Specified by:
start
in interface SPI
- Throws:
RemoteException
stop
public void stop()
throws RemoteException
- Specified by:
stop
in interface SPI
- Throws:
RemoteException
toString
public String toString()
- Overrides:
toString
in class Object