public class ThreadLocalDistributor extends Object implements Externalizable
Constructor and Description |
---|
ThreadLocalDistributor() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
void |
capture() |
ClassLoader |
getClassLoader() |
void |
readExternal(ObjectInput objectInput) |
void |
restore() |
void |
setClassLoader(ClassLoader classLoader) |
void |
setThreadLocalSources(List<KeyValuePair> threadLocalSources) |
void |
writeExternal(ObjectOutput objectOutput) |
public void capture()
public ClassLoader getClassLoader()
public void readExternal(ObjectInput objectInput) throws ClassNotFoundException, IOException
readExternal
in interface Externalizable
ClassNotFoundException
IOException
public void restore()
public void setClassLoader(ClassLoader classLoader)
public void setThreadLocalSources(List<KeyValuePair> threadLocalSources)
public void writeExternal(ObjectOutput objectOutput) throws IOException
writeExternal
in interface Externalizable
IOException