com.hazelcast.client.impl
Class DefaultClientExtension

java.lang.Object
  extended by com.hazelcast.client.impl.DefaultClientExtension
All Implemented Interfaces:
ClientExtension

public class DefaultClientExtension
extends Object
implements ClientExtension


Field Summary
protected  HazelcastClientInstanceImpl client
           
protected static ILogger LOGGER
           
 
Constructor Summary
DefaultClientExtension()
           
 
Method Summary
 void afterStart(HazelcastClientInstanceImpl client)
          Called after node is started
 void beforeStart(HazelcastClientInstanceImpl client)
          Called before client is started
 SerializationService createSerializationService()
          Creates a SerializationService instance to be used by this client.
protected  PartitioningStrategy getPartitioningStrategy(ClassLoader configClassLoader)
           
 SocketChannelWrapperFactory getSocketChannelWrapperFactory()
          Returns SocketChannelWrapperFactory instance to be used by this client.
 SocketInterceptor getSocketInterceptor()
          Returns SocketInterceptor for this client if available, otherwise returns null.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOGGER

protected static final ILogger LOGGER

client

protected volatile HazelcastClientInstanceImpl client
Constructor Detail

DefaultClientExtension

public DefaultClientExtension()
Method Detail

beforeStart

public void beforeStart(HazelcastClientInstanceImpl client)
Description copied from interface: ClientExtension
Called before client is started

Specified by:
beforeStart in interface ClientExtension

afterStart

public void afterStart(HazelcastClientInstanceImpl client)
Description copied from interface: ClientExtension
Called after node is started

Specified by:
afterStart in interface ClientExtension

createSerializationService

public SerializationService createSerializationService()
Description copied from interface: ClientExtension
Creates a SerializationService instance to be used by this client.

Specified by:
createSerializationService in interface ClientExtension
Returns:
a SerializationService instance

getPartitioningStrategy

protected PartitioningStrategy getPartitioningStrategy(ClassLoader configClassLoader)
                                                throws Exception
Throws:
Exception

getSocketInterceptor

public SocketInterceptor getSocketInterceptor()
Description copied from interface: ClientExtension
Returns SocketInterceptor for this client if available, otherwise returns null.

Specified by:
getSocketInterceptor in interface ClientExtension
Returns:
SocketInterceptor

getSocketChannelWrapperFactory

public SocketChannelWrapperFactory getSocketChannelWrapperFactory()
Description copied from interface: ClientExtension
Returns SocketChannelWrapperFactory instance to be used by this client.

Specified by:
getSocketChannelWrapperFactory in interface ClientExtension
Returns:
SocketChannelWrapperFactory


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