Package org.mvel2.integration
Class PropertyHandlerFactory
- java.lang.Object
-
- org.mvel2.integration.PropertyHandlerFactory
-
public class PropertyHandlerFactory extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected static PropertyHandler
nullMethodHandler
protected static PropertyHandler
nullPropertyHandler
protected static java.util.Map<java.lang.Class,PropertyHandler>
propertyHandlerClass
-
Constructor Summary
Constructors Constructor Description PropertyHandlerFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
disposeAll()
static PropertyHandler
getNullMethodHandler()
static PropertyHandler
getNullPropertyHandler()
static PropertyHandler
getPropertyHandler(java.lang.Class clazz)
static boolean
hasNullMethodHandler()
static boolean
hasNullPropertyHandler()
static boolean
hasPropertyHandler(java.lang.Class clazz)
static void
registerPropertyHandler(java.lang.Class clazz, PropertyHandler propertyHandler)
static void
setNullMethodHandler(PropertyHandler handler)
static void
setNullPropertyHandler(PropertyHandler handler)
static void
unregisterPropertyHandler(java.lang.Class clazz)
-
-
-
Field Detail
-
propertyHandlerClass
protected static java.util.Map<java.lang.Class,PropertyHandler> propertyHandlerClass
-
nullPropertyHandler
protected static PropertyHandler nullPropertyHandler
-
nullMethodHandler
protected static PropertyHandler nullMethodHandler
-
-
Method Detail
-
getPropertyHandler
public static PropertyHandler getPropertyHandler(java.lang.Class clazz)
-
hasPropertyHandler
public static boolean hasPropertyHandler(java.lang.Class clazz)
-
registerPropertyHandler
public static void registerPropertyHandler(java.lang.Class clazz, PropertyHandler propertyHandler)
-
setNullPropertyHandler
public static void setNullPropertyHandler(PropertyHandler handler)
-
hasNullPropertyHandler
public static boolean hasNullPropertyHandler()
-
getNullPropertyHandler
public static PropertyHandler getNullPropertyHandler()
-
setNullMethodHandler
public static void setNullMethodHandler(PropertyHandler handler)
-
hasNullMethodHandler
public static boolean hasNullMethodHandler()
-
getNullMethodHandler
public static PropertyHandler getNullMethodHandler()
-
unregisterPropertyHandler
public static void unregisterPropertyHandler(java.lang.Class clazz)
-
disposeAll
public static void disposeAll()
-
-