com.liferay.portal.kernel.resiliency.spi
Interface SPI

All Superinterfaces:
java.rmi.Remote, java.io.Serializable
All Known Implementing Classes:
RemoteSPI, RemoteSPIProxy

public interface SPI
extends java.rmi.Remote, java.io.Serializable

Author:
Shuyang Zhou

Field Summary
static java.lang.String SPI_INSTANCE_PUBLICATION_KEY
           
 
Method Summary
 void addServlet(java.lang.String contextPath, java.lang.String docBasePath, java.lang.String mappingPattern, java.lang.String servletClassName)
           
 void addWebapp(java.lang.String contextPath, java.lang.String docBasePath)
           
 void destroy()
           
 MPI getMPI()
           
 RegistrationReference getRegistrationReference()
           
 SPIAgent getSPIAgent()
           
 SPIConfiguration getSPIConfiguration()
           
 java.lang.String getSPIProviderName()
           
 void init()
           
 boolean isAlive()
           
 void start()
           
 void stop()
           
 

Field Detail

SPI_INSTANCE_PUBLICATION_KEY

static final java.lang.String SPI_INSTANCE_PUBLICATION_KEY
See Also:
Constant Field Values
Method Detail

addServlet

void addServlet(java.lang.String contextPath,
                java.lang.String docBasePath,
                java.lang.String mappingPattern,
                java.lang.String servletClassName)
                throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

addWebapp

void addWebapp(java.lang.String contextPath,
               java.lang.String docBasePath)
               throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

destroy

void destroy()
             throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getMPI

MPI getMPI()
           throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getRegistrationReference

RegistrationReference getRegistrationReference()
                                               throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getSPIAgent

SPIAgent getSPIAgent()
                     throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getSPIConfiguration

SPIConfiguration getSPIConfiguration()
                                     throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getSPIProviderName

java.lang.String getSPIProviderName()
                                    throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

init

void init()
          throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

isAlive

boolean isAlive()
                throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

start

void start()
           throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

stop

void stop()
          throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException