com.hazelcast.client.spi
Class ProxyManager
java.lang.Object
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 ClientProxyFactory
s.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProxyManager
public ProxyManager(HazelcastClientInstanceImpl client)
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.