org.granite.client.configuration
Class NoopAMF3DeserializerSecurizer

java.lang.Object
  extended by org.granite.client.configuration.NoopAMF3DeserializerSecurizer
All Implemented Interfaces:
AMF3DeserializerSecurizer

public class NoopAMF3DeserializerSecurizer
extends Object
implements AMF3DeserializerSecurizer

Author:
Franck WOLFF

Constructor Summary
NoopAMF3DeserializerSecurizer()
           
 
Method Summary
 boolean allowInstantiation(String className)
          Check if it safe to instantiate the class denoted by the className parameter.
 String getParam()
          Returns the string that is currently used for this securizer configuration.
 void setParam(String param)
          An arbitrary string that may be used in order to configure this securizer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoopAMF3DeserializerSecurizer

public NoopAMF3DeserializerSecurizer()
Method Detail

allowInstantiation

public boolean allowInstantiation(String className)
Description copied from interface: AMF3DeserializerSecurizer
Check if it safe to instantiate the class denoted by the className parameter.

Specified by:
allowInstantiation in interface AMF3DeserializerSecurizer
Parameters:
className - the class name to check.
Returns:
true if it is safe to instantiate the given class, false otherwise.

getParam

public String getParam()
Description copied from interface: AMF3DeserializerSecurizer
Returns the string that is currently used for this securizer configuration.

Specified by:
getParam in interface AMF3DeserializerSecurizer
Returns:
the string that is currently used for this securizer configuration.

setParam

public void setParam(String param)
Description copied from interface: AMF3DeserializerSecurizer
An arbitrary string that may be used in order to configure this securizer.

Specified by:
setParam in interface AMF3DeserializerSecurizer
Parameters:
param - a string used in configuring this securizer.