public abstract class RemoteSPI extends Object implements ProcessCallable<SPI>, Remote, SPI
| Modifier and Type | Class and Description |
|---|---|
protected static class |
RemoteSPI.RegisterCallback |
protected class |
RemoteSPI.SPIShutdownHook |
protected static class |
RemoteSPI.UnregisterSPIProcessCallable |
| Modifier and Type | Field and Description |
|---|---|
protected CountDownLatch |
countDownLatch |
protected MPI |
mpi |
protected RegistrationReference |
registrationReference |
protected SPIAgent |
spiAgent |
protected SPIConfiguration |
spiConfiguration |
protected String |
uuid |
protected Welder |
welder |
SPI_INSTANCE_PUBLICATION_KEY| Constructor and Description |
|---|
RemoteSPI(SPIConfiguration spiConfiguration) |
| Modifier and Type | Method and Description |
|---|---|
SPI |
call() |
void |
destroy() |
protected abstract void |
doDestroy() |
MPI |
getMPI() |
RegistrationReference |
getRegistrationReference() |
SPIAgent |
getSPIAgent() |
SPIConfiguration |
getSPIConfiguration() |
String |
getUUID() |
Welder |
getWelder() |
boolean |
isAlive() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddServlet, addWebapp, getSPIProviderName, init, start, stopprotected transient CountDownLatch countDownLatch
protected final MPI mpi
protected RegistrationReference registrationReference
protected transient volatile SPIAgent spiAgent
protected final SPIConfiguration spiConfiguration
protected final String uuid
protected final Welder welder
public RemoteSPI(SPIConfiguration spiConfiguration)
public SPI call() throws ProcessException
call in interface ProcessCallable<SPI>ProcessExceptionpublic void destroy()
throws RemoteException
public RegistrationReference getRegistrationReference()
getRegistrationReference in interface SPIpublic SPIAgent getSPIAgent()
getSPIAgent in interface SPIpublic SPIConfiguration getSPIConfiguration()
getSPIConfiguration in interface SPIpublic String getUUID()
public Welder getWelder()
protected abstract void doDestroy()
throws RemoteException
RemoteException