|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hivemind.internal.ser.ServiceSerializationHelper
Class used to hold a global instance of
ServiceSerializationSupport
, so that
ServiceToken
s may locate them.
Constructor Summary | |
ServiceSerializationHelper()
|
Method Summary | |
static ServiceSerializationSupport |
getServiceSerializationSupport()
Returns the previously stored SSS. |
static void |
resetServiceSerializationSupport(ServiceSerializationSupport serviceSerializationSupport)
Invoked to clear the SSS, if it matches the provide parameter. |
static void |
setServiceSerializationSupport(ServiceSerializationSupport serviceSerializationSupport)
Stores the SSS instance for later access; if an existing SSS is already stored, then an error is logged (should be just one SSS per class loader). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ServiceSerializationHelper()
Method Detail |
public static ServiceSerializationSupport getServiceSerializationSupport()
ApplicationRuntimeException
- if no SSS has been stored.public static void setServiceSerializationSupport(ServiceSerializationSupport serviceSerializationSupport)
public static void resetServiceSerializationSupport(ServiceSerializationSupport serviceSerializationSupport)
HiveMindFilter
, which includes the ability to create a
new Registry on the fly and has to leave both Registry's running for a brief window.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |