org.springframework.remoting.caucho
Class BurlapExporter
java.lang.Object
org.springframework.remoting.support.RemotingSupport
org.springframework.remoting.support.RemoteExporter
org.springframework.remoting.caucho.BurlapExporter
- All Implemented Interfaces:
- BeanClassLoaderAware, InitializingBean
- Direct Known Subclasses:
- BurlapServiceExporter, SimpleBurlapServiceExporter
public class BurlapExporter
- extends RemoteExporter
- implements InitializingBean
General stream-based protocol exporter for a Burlap endpoint.
Burlap is a slim, XML-based RPC protocol.
For information on Burlap, see the
Burlap website.
This exporter will work with both Burlap 2.x and 3.x (respectively
Resin 2.x and 3.x), autodetecting the corresponding skeleton class.
- Since:
- 2.5.1
- Author:
- Juergen Hoeller
- See Also:
invoke(java.io.InputStream, java.io.OutputStream)
,
BurlapServiceExporter
,
SimpleBurlapServiceExporter
Method Summary |
void |
afterPropertiesSet()
Invoked by a BeanFactory after it has set all bean properties supplied
(and satisfied BeanFactoryAware and ApplicationContextAware). |
void |
invoke(InputStream inputStream,
OutputStream outputStream)
Perform an invocation on the exported object. |
void |
prepare()
Initialize this service exporter. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BurlapExporter
public BurlapExporter()
afterPropertiesSet
public void afterPropertiesSet()
- Description copied from interface:
InitializingBean
- Invoked by a BeanFactory after it has set all bean properties supplied
(and satisfied BeanFactoryAware and ApplicationContextAware).
This method allows the bean instance to perform initialization only
possible when all bean properties have been set and to throw an
exception in the event of misconfiguration.
- Specified by:
afterPropertiesSet
in interface InitializingBean
prepare
public void prepare()
- Initialize this service exporter.
invoke
public void invoke(InputStream inputStream,
OutputStream outputStream)
throws Throwable
- Perform an invocation on the exported object.
- Parameters:
inputStream
- the request streamoutputStream
- the response stream
- Throws:
Throwable
- if invocation failed
Copyright © 2002-2008 The Spring Framework.