org.nakedobjects.remoting.client
Class ClientConnectionDefault

java.lang.Object
  extended by org.nakedobjects.remoting.client.ClientConnectionDefault
All Implemented Interfaces:
ApplicationScopedComponent, Component, ClientConnection

public class ClientConnectionDefault
extends java.lang.Object
implements ClientConnection

Default implementation of ClientConnection that delegates to ClientMarshaller supplied in constructor.


Constructor Summary
ClientConnectionDefault(ClientMarshaller marshaller)
           
 
Method Summary
 ResponseEnvelope executeRemotely(Request request)
           
protected  ClientMarshaller getMarshaller()
           
 void init()
           
 void shutdown()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientConnectionDefault

public ClientConnectionDefault(ClientMarshaller marshaller)
Method Detail

getMarshaller

protected ClientMarshaller getMarshaller()

init

public void init()
Specified by:
init in interface ApplicationScopedComponent

shutdown

public void shutdown()
Specified by:
shutdown in interface ApplicationScopedComponent

executeRemotely

public ResponseEnvelope executeRemotely(Request request)
Specified by:
executeRemotely in interface ClientConnection


Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.