Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.hivemind.internal.ser
Class ServiceSerializationHelper  view ServiceSerializationHelper download ServiceSerializationHelper.java

java.lang.Object
  extended byorg.apache.hivemind.internal.ser.ServiceSerializationHelper

public class ServiceSerializationHelper
extends java.lang.Object

Class used to hold a global instance of ServiceSerializationSupport, so that ServiceTokens may locate them.

Since:
1.1

Field Summary
private static java.lang.ThreadLocal _threadLocal
           
private static org.apache.commons.logging.Log LOG
           
 
Constructor Summary
ServiceSerializationHelper()
           
 
Method Summary
static ServiceSerializationSupport getServiceSerializationSupport()
          Returns the previously stored SSS.
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
 

Field Detail

LOG

private static final org.apache.commons.logging.Log LOG

_threadLocal

private static final java.lang.ThreadLocal _threadLocal
Constructor Detail

ServiceSerializationHelper

public ServiceSerializationHelper()
Method Detail

getServiceSerializationSupport

public static ServiceSerializationSupport getServiceSerializationSupport()
Returns the previously stored SSS.


setServiceSerializationSupport

public 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).