Class TypeHandlerFactory

java.lang.Object
pro.cyberyon.mojet.types.TypeHandlerFactory

public final class TypeHandlerFactory extends Object
Default data type manager factory
Author:
Guillaume CHAUVET
  • Method Details

    • get

      public <T> TypeHandler<T> get(Class<T> type)
      Retrive the first type handler for a give type.
      Type Parameters:
      T - type to handle
      Parameters:
      type - the class type to handle
      Returns:
      the type handler for the type
      Throws:
      MojetRuntimeException - a mojet runtime exception if an error occurs
    • getInstance

      public static TypeHandlerFactory getInstance()
      Get the singleton instance
      Returns:
      the singleton instance of this factory