com.hazelcast.client.spi
Class ProxyManager

java.lang.Object
  extended by com.hazelcast.client.spi.ProxyManager

public final class ProxyManager
extends Object

The ProxyManager handles client proxy instantiation and retrieval at start- and runtime by registering corresponding service manager names and their ClientProxyFactorys.


Constructor Summary
ProxyManager(HazelcastClientInstanceImpl client)
           
 
Method Summary
 String addDistributedObjectListener(DistributedObjectListener listener)
           
 void destroy()
           
 Collection<? extends DistributedObject> getDistributedObjects()
           
 HazelcastInstance getHazelcastInstance()
           
 ClientProxy getOrCreateProxy(String service, String id)
           
 void init(ClientConfig config)
           
 void register(String serviceName, Class<? extends ClientProxy> proxyType)
           
 void register(String serviceName, ClientProxyFactory factory)
           
 boolean removeDistributedObjectListener(String id)
           
 void removeProxy(String service, String id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProxyManager

public ProxyManager(HazelcastClientInstanceImpl client)
Method Detail

init

public void init(ClientConfig config)

getHazelcastInstance

public HazelcastInstance getHazelcastInstance()

register

public void register(String serviceName,
                     ClientProxyFactory factory)

register

public void register(String serviceName,
                     Class<? extends ClientProxy> proxyType)

getOrCreateProxy

public ClientProxy getOrCreateProxy(String service,
                                    String id)

removeProxy

public void removeProxy(String service,
                        String id)

getDistributedObjects

public Collection<? extends DistributedObject> getDistributedObjects()

destroy

public void destroy()

addDistributedObjectListener

public String addDistributedObjectListener(DistributedObjectListener listener)

removeDistributedObjectListener

public boolean removeDistributedObjectListener(String id)


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.