com.liferay.portal.kernel.util
Class ThreadLocalDistributor
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThreadLocalDistributor
public ThreadLocalDistributor()
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