com.googlecode.xremoting.spring
Class XRemotingExporter
java.lang.Object
org.springframework.remoting.support.RemoteExporter
com.googlecode.xremoting.spring.XRemotingExporter
- All Implemented Interfaces:
- org.springframework.beans.factory.InitializingBean
- Direct Known Subclasses:
- XRemotingServiceExporter
public class XRemotingExporter
- extends org.springframework.remoting.support.RemoteExporter
- implements org.springframework.beans.factory.InitializingBean
Exposes XRemoting-based service using some protocol.
- Author:
- Roman Puchkovskiy
| Fields inherited from class org.springframework.remoting.support.RemoteExporter |
logger |
| Methods inherited from class org.springframework.remoting.support.RemoteExporter |
checkService, checkServiceInterface, getExporterName, getProxyForService, getService, getServiceInterface, isRegisterTraceInterceptor, setRegisterTraceInterceptor, setService, setServiceInterface |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serializer
protected Serializer serializer
serializerClass
protected Class<? extends Serializer> serializerClass
serializerClassName
protected String serializerClassName
serializerClassLoader
protected ClassLoader serializerClassLoader
invoker
protected Invoker invoker
invokingHelper
protected ProxyInvokingHelper invokingHelper
restriction
protected InvocationRestriction restriction
XRemotingExporter
public XRemotingExporter()
setSerializer
public void setSerializer(Serializer serializer)
setSerializerClass
public void setSerializerClass(Class<? extends Serializer> serializerClass)
setSerializerClassName
public void setSerializerClassName(String serializerClassName)
setSerializerClassLoader
public void setSerializerClassLoader(ClassLoader serializerClassLoader)
setInvoker
public void setInvoker(Invoker invoker)
afterPropertiesSet
public void afterPropertiesSet()
throws Exception
- Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
- Throws:
Exception
createSerializer
protected Serializer createSerializer()
throws InstantiationException,
IllegalAccessException,
ClassNotFoundException
- Throws:
InstantiationException
IllegalAccessException
ClassNotFoundException
createDefaultSerializer
protected Serializer createDefaultSerializer()
getDefaultSerializerClassLoader
protected ClassLoader getDefaultSerializerClassLoader()
createDefaultInvoker
protected Invoker createDefaultInvoker()
createInvokingHelper
protected ProxyInvokingHelper createInvokingHelper()
createRestriction
protected InvocationRestriction createRestriction()
invoke
protected void invoke(InputStream is,
OutputStream os)
throws IOException
- Throws:
IOException
Copyright © 2012. All Rights Reserved.