com.liferay.portal.kernel.resiliency.spi
Class MockSPI
java.lang.Object
com.liferay.portal.kernel.resiliency.spi.MockSPI
- All Implemented Interfaces:
- SPI, Serializable, Remote
public class MockSPI
- extends Object
- implements SPI
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
destroyed
public boolean destroyed
failOnDestroy
public boolean failOnDestroy
failOnGetConfiguration
public boolean failOnGetConfiguration
failOnIsAlive
public boolean failOnIsAlive
failOnStop
public boolean failOnStop
mpi
public MPI mpi
registrationReference
public RegistrationReference registrationReference
spiConfiguration
public SPIConfiguration spiConfiguration
spiProviderName
public String spiProviderName
stopped
public boolean stopped
MockSPI
public MockSPI()
addServlet
public void addServlet(String contextPath,
String docBasePath,
String mappingPattern,
String servletClassName)
- Specified by:
addServlet in interface SPI
addWebapp
public void addWebapp(String contextPath,
String docBasePath)
- Specified by:
addWebapp in interface SPI
destroy
public void destroy()
throws RemoteException
- Specified by:
destroy in interface SPI
- Throws:
RemoteException
getMPI
public MPI getMPI()
- Specified by:
getMPI in interface SPI
getRegistrationReference
public RegistrationReference getRegistrationReference()
throws RemoteException
- Specified by:
getRegistrationReference in interface SPI
- Throws:
RemoteException
getSPIAgent
public SPIAgent getSPIAgent()
- Specified by:
getSPIAgent in interface SPI
getSPIConfiguration
public SPIConfiguration getSPIConfiguration()
throws RemoteException
- Specified by:
getSPIConfiguration in interface SPI
- Throws:
RemoteException
getSPIProviderName
public String getSPIProviderName()
- Specified by:
getSPIProviderName in interface SPI
init
public void init()
- Specified by:
init in interface SPI
isAlive
public boolean isAlive()
throws RemoteException
- Specified by:
isAlive in interface SPI
- Throws:
RemoteException
start
public void start()
- Specified by:
start in interface SPI
stop
public void stop()
throws RemoteException
- Specified by:
stop in interface SPI
- Throws:
RemoteException