com.liferay.portal.kernel.util
Class ThreadLocalDistributor

java.lang.Object
  extended by com.liferay.portal.kernel.util.ThreadLocalDistributor
All Implemented Interfaces:
java.io.Externalizable, java.io.Serializable

public class ThreadLocalDistributor
extends java.lang.Object
implements java.io.Externalizable

Author:
Shuyang Zhou
See Also:
Serialized Form

Constructor Summary
ThreadLocalDistributor()
           
 
Method Summary
 void afterPropertiesSet()
           
 void capture()
           
 java.lang.ClassLoader getClassLoader()
           
 void readExternal(java.io.ObjectInput objectInput)
           
 void restore()
           
 void setClassLoader(java.lang.ClassLoader classLoader)
           
 void setThreadLocalSources(java.util.List<KeyValuePair> threadLocalSources)
           
 void writeExternal(java.io.ObjectOutput objectOutput)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThreadLocalDistributor

public ThreadLocalDistributor()
Method Detail

afterPropertiesSet

public void afterPropertiesSet()
                        throws java.lang.Exception
Throws:
java.lang.Exception

capture

public void capture()

getClassLoader

public java.lang.ClassLoader getClassLoader()

readExternal

public void readExternal(java.io.ObjectInput objectInput)
                  throws java.lang.ClassNotFoundException,
                         java.io.IOException
Specified by:
readExternal in interface java.io.Externalizable
Throws:
java.lang.ClassNotFoundException
java.io.IOException

restore

public void restore()

setClassLoader

public void setClassLoader(java.lang.ClassLoader classLoader)

setThreadLocalSources

public void setThreadLocalSources(java.util.List<KeyValuePair> threadLocalSources)

writeExternal

public void writeExternal(java.io.ObjectOutput objectOutput)
                   throws java.io.IOException
Specified by:
writeExternal in interface java.io.Externalizable
Throws:
java.io.IOException