Interface ELMappingExtensionManager


  • public interface ELMappingExtensionManager
    Allows registration of EL methods and resolvers to the mapping layer. Registered resolvers and methods can be used in mapping expression.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void registerMethod​(java.lang.String name, java.lang.reflect.Method method)
      Register the static method to mapping layer.
      void registerResolver​(javax.el.ELResolver resolver)
      Register the resolver instance to mapping layer.
    • Method Detail

      • registerMethod

        void registerMethod​(java.lang.String name,
                            java.lang.reflect.Method method)
        Register the static method to mapping layer. Registered method then can be used in mapping expressions.
        Parameters:
        name - the name to use for registration. The name of the method can be either prefix:name or name. The name specified during registration is used in mapping expression.
        method - the method object
      • registerResolver

        void registerResolver​(javax.el.ELResolver resolver)
        Register the resolver instance to mapping layer.
        Parameters:
        resolver - instance of resolver