Liferay 6.2-ce-ga5

com.liferay.portal.kernel.resiliency.spi.remote
Class RemoteSPI

java.lang.Object
  extended by com.liferay.portal.kernel.resiliency.spi.remote.RemoteSPI
All Implemented Interfaces:
ProcessCallable<SPI>, SPI, Serializable, Remote

public abstract class RemoteSPI
extends Object
implements ProcessCallable<SPI>, Remote, SPI

See Also:
Serialized Form

Nested Class Summary
protected static class RemoteSPI.RegisterCallback
           
protected  class RemoteSPI.SPIShutdownHook
           
 
Field Summary
protected  MPI mpi
           
protected  RegistrationReference registrationReference
           
protected  SPIAgent spiAgent
           
protected  SPIConfiguration spiConfiguration
           
protected  String uuid
           
protected  Welder welder
           
 
Fields inherited from interface com.liferay.portal.kernel.resiliency.spi.SPI
SPI_INSTANCE_PUBLICATION_KEY
 
Constructor Summary
RemoteSPI(SPIConfiguration spiConfiguration)
           
 
Method Summary
 SPI call()
           
 MPI getMPI()
           
 RegistrationReference getRegistrationReference()
           
 SPIAgent getSPIAgent()
           
 SPIConfiguration getSPIConfiguration()
           
 String getUUID()
           
 Welder getWelder()
           
 boolean isAlive()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.kernel.resiliency.spi.SPI
addServlet, addWebapp, destroy, getSPIProviderName, init, start, stop
 

Field Detail

mpi

protected final MPI mpi

registrationReference

protected RegistrationReference registrationReference

spiAgent

protected transient volatile SPIAgent spiAgent

spiConfiguration

protected final SPIConfiguration spiConfiguration

uuid

protected final String uuid

welder

protected final Welder welder
Constructor Detail

RemoteSPI

public RemoteSPI(SPIConfiguration spiConfiguration)
Method Detail

call

public SPI call()
         throws ProcessException
Specified by:
call in interface ProcessCallable<SPI>
Throws:
ProcessException

getMPI

public MPI getMPI()
Specified by:
getMPI in interface SPI

getRegistrationReference

public RegistrationReference getRegistrationReference()
Specified by:
getRegistrationReference in interface SPI

getSPIAgent

public SPIAgent getSPIAgent()
Specified by:
getSPIAgent in interface SPI

getSPIConfiguration

public SPIConfiguration getSPIConfiguration()
Specified by:
getSPIConfiguration in interface SPI

getUUID

public String getUUID()

getWelder

public Welder getWelder()

isAlive

public boolean isAlive()
Specified by:
isAlive in interface SPI

Liferay 6.2-ce-ga5