public abstract class RemoteSPI extends java.lang.Object implements ProcessCallable<SPI>, java.rmi.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 java.util.concurrent.CountDownLatch |
countDownLatch |
protected MPI |
mpi |
protected RegistrationReference |
registrationReference |
protected SPIAgent |
spiAgent |
protected SPIConfiguration |
spiConfiguration |
protected java.lang.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() |
java.lang.String |
getUUID() |
Welder |
getWelder() |
boolean |
isAlive() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddServlet, addWebapp, getSPIProviderName, init, start, stopprotected transient java.util.concurrent.CountDownLatch countDownLatch
protected final MPI mpi
protected RegistrationReference registrationReference
protected transient volatile SPIAgent spiAgent
protected final SPIConfiguration spiConfiguration
protected final java.lang.String uuid
protected final Welder welder
public RemoteSPI(SPIConfiguration spiConfiguration)
public SPI call() throws ProcessException
call in interface ProcessCallable<SPI>ProcessExceptionpublic void destroy()
throws java.rmi.RemoteException
public RegistrationReference getRegistrationReference()
getRegistrationReference in interface SPIpublic SPIAgent getSPIAgent()
getSPIAgent in interface SPIpublic SPIConfiguration getSPIConfiguration()
getSPIConfiguration in interface SPIpublic java.lang.String getUUID()
public Welder getWelder()
protected abstract void doDestroy()
throws java.rmi.RemoteException
java.rmi.RemoteException