public class RemoteSPIProxy extends Object implements SPI
Modifier and Type | Field and Description |
---|---|
static int |
SIGINT |
SPI_INSTANCE_PUBLICATION_KEY
Constructor and Description |
---|
RemoteSPIProxy(SPI spi,
SPIConfiguration spiConfiguration,
String spiProviderName,
Future<SPI> cancelHandlerFuture,
RegistrationReference registrationReference) |
Modifier and Type | Method and Description |
---|---|
void |
addServlet(String contextPath,
String docBasePath,
String mappingPattern,
String servletClassName) |
void |
addWebapp(String contextPath,
String docBasePath) |
void |
destroy() |
MPI |
getMPI() |
RegistrationReference |
getRegistrationReference() |
SPIAgent |
getSPIAgent() |
SPIConfiguration |
getSPIConfiguration() |
String |
getSPIProviderName() |
void |
init() |
boolean |
isAlive() |
void |
start() |
void |
stop() |
String |
toString() |
public static final int SIGINT
public RemoteSPIProxy(SPI spi, SPIConfiguration spiConfiguration, String spiProviderName, Future<SPI> cancelHandlerFuture, RegistrationReference registrationReference)
public void addServlet(String contextPath, String docBasePath, String mappingPattern, String servletClassName) throws RemoteException
addServlet
in interface SPI
RemoteException
public void addWebapp(String contextPath, String docBasePath) throws RemoteException
public RegistrationReference getRegistrationReference()
getRegistrationReference
in interface SPI
public SPIAgent getSPIAgent()
getSPIAgent
in interface SPI
public SPIConfiguration getSPIConfiguration()
getSPIConfiguration
in interface SPI
public String getSPIProviderName()
getSPIProviderName
in interface SPI
public void init() throws RemoteException
public boolean isAlive() throws RemoteException
public void start() throws RemoteException
public void stop() throws RemoteException
public String toString()
toString
in class Object