com.hazelcast.config
Class SocketInterceptorConfig

java.lang.Object
  extended by com.hazelcast.config.SocketInterceptorConfig

public class SocketInterceptorConfig
extends Object


Constructor Summary
SocketInterceptorConfig()
           
 
Method Summary
 String getClassName()
          Returns the name of the com.hazelcast.nio.SocketInterceptor implementation class
 Object getImplementation()
          Returns the com.hazelcast.nio.SocketInterceptor implementation object
 Properties getProperties()
           
 String getProperty(String name)
           
 boolean isEnabled()
          Returns if this configuration is enabled
 SocketInterceptorConfig setClassName(String className)
          Sets the name for the com.hazelcast.nio.SocketInterceptor implementation class
 SocketInterceptorConfig setEnabled(boolean enabled)
          Enables and disables this configuration
 SocketInterceptorConfig setImplementation(Object implementation)
          Sets the com.hazelcast.nio.SocketInterceptor implementation object
 SocketInterceptorConfig setProperties(Properties properties)
           
 SocketInterceptorConfig setProperty(String name, String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SocketInterceptorConfig

public SocketInterceptorConfig()
Method Detail

getClassName

public String getClassName()
Returns the name of the com.hazelcast.nio.SocketInterceptor implementation class

Returns:
name of the class

setClassName

public SocketInterceptorConfig setClassName(String className)
Sets the name for the com.hazelcast.nio.SocketInterceptor implementation class

Parameters:
className - the name of the com.hazelcast.nio.SocketInterceptor implementation class to set
Returns:
this SocketInterceptorConfig instance

setImplementation

public SocketInterceptorConfig setImplementation(Object implementation)
Sets the com.hazelcast.nio.SocketInterceptor implementation object

Parameters:
implementation - implementation object
Returns:
this SocketInterceptorConfig instance

getImplementation

public Object getImplementation()
Returns the com.hazelcast.nio.SocketInterceptor implementation object

Returns:
SocketInterceptor implementation object

isEnabled

public boolean isEnabled()
Returns if this configuration is enabled

Returns:
true if enabled, false otherwise

setEnabled

public SocketInterceptorConfig setEnabled(boolean enabled)
Enables and disables this configuration

Parameters:
enabled -

setProperty

public SocketInterceptorConfig setProperty(String name,
                                           String value)

getProperty

public String getProperty(String name)

getProperties

public Properties getProperties()

setProperties

public SocketInterceptorConfig setProperties(Properties properties)


Copyright 2008-2012 Hazel Ltd. All Rights Reserved.