java.lang.Object | |
↳ | org.springframework.remoting.support.RemotingSupport |
Known Direct Subclasses |
Generic support base class for remote accessor and exporters, providing common bean ClassLoader handling.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
logger | Logger available to subclasses |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Callback that supplies the bean
class loader to
a bean instance. |
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Return the ClassLoader that this accessor operates in,
to be used for deserializing and for generating proxies.
| |||||||||||
Override the thread context ClassLoader with the environment's bean ClassLoader
if necessary, i.e.
| |||||||||||
Reset the original thread context ClassLoader if necessary.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.springframework.beans.factory.BeanClassLoaderAware
|
Logger available to subclasses
Callback that supplies the bean class loader
to
a bean instance.
Invoked after the population of normal bean properties but
before an initialization callback such as
InitializingBean's
afterPropertiesSet()
method or a custom init-method.
classLoader | the owning class loader; may be null in
which case a default ClassLoader must be used, for example
the ClassLoader obtained via
getDefaultClassLoader()
|
---|
Return the ClassLoader that this accessor operates in, to be used for deserializing and for generating proxies.
Override the thread context ClassLoader with the environment's bean ClassLoader if necessary, i.e. if the bean ClassLoader is not equivalent to the thread context ClassLoader already.
null
if not overridden
Reset the original thread context ClassLoader if necessary.
original | the original thread context ClassLoader,
or null if not overridden (and hence nothing to reset)
|
---|