Anyframe Core

anyframe.core.remoting.webservices.client
Class SimpleClient

java.lang.Object
  extended by anyframe.core.remoting.webservices.client.SimpleClient
All Implemented Interfaces:
Client

public class SimpleClient
extends Object
implements Client

SimpleClient makes client implementation simplified using a Simple frontend APIs which are supported by Apache CXF framework. You can get a ClientProxyFactory instance to invoke remote web service methods using a getClient method consistently.

Author:
SooYeon Park

Field Summary
 
Fields inherited from interface anyframe.core.remoting.webservices.client.Client
LOGGER
 
Constructor Summary
SimpleClient()
           
 
Method Summary
 Object getClient(ClientInfo clientInfo)
          get ProxyFactoryBean instance with Client information and the return value should be typecast as a service interface class(SEI)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleClient

public SimpleClient()
Method Detail

getClient

public Object getClient(ClientInfo clientInfo)
Description copied from interface: Client
get ProxyFactoryBean instance with Client information and the return value should be typecast as a service interface class(SEI)

Specified by:
getClient in interface Client
Parameters:
clientInfo - information to invoke remote web service methods, it has interface class, access address url, Aegis binding usage, MTOM binding usage information
Returns:
Object a client instance which is created by ProxyFactoryBean, the type of inside object is SEI(Service Endpoint Interface)

Anyframe Core

Copyright © 2008-2009 Samsung SDS. All Rights Reserved.