com.liferay.portal.kernel.util
Class ThreadLocalDistributor
java.lang.Object
com.liferay.portal.kernel.util.ThreadLocalDistributor
- All Implemented Interfaces:
- Externalizable, Serializable
public class ThreadLocalDistributor
- extends Object
- implements Externalizable
- 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 Exception
- Throws:
Exception
capture
public void capture()
getClassLoader
public ClassLoader getClassLoader()
readExternal
public void readExternal(ObjectInput objectInput)
throws ClassNotFoundException,
IOException
- Specified by:
readExternal
in interface Externalizable
- Throws:
ClassNotFoundException
IOException
restore
public void restore()
setClassLoader
public void setClassLoader(ClassLoader classLoader)
setThreadLocalSources
public void setThreadLocalSources(List<KeyValuePair> threadLocalSources)
writeExternal
public void writeExternal(ObjectOutput objectOutput)
throws IOException
- Specified by:
writeExternal
in interface Externalizable
- Throws:
IOException