Class AbstractTokenMakerFactory

    • Constructor Detail

      • AbstractTokenMakerFactory

        protected AbstractTokenMakerFactory()
        Constructor.
    • Method Detail

      • keySet

        public Set<String> keySet()
        Returns the set of keys that this factory maps to token makers.
        Specified by:
        keySet in class TokenMakerFactory
        Returns:
        The set of keys.
      • putMapping

        public void putMapping​(String key,
                               String className)
        Adds a mapping from a key to a TokenMaker implementation class name.
        Parameters:
        key - The key.
        className - The TokenMaker class name.
        See Also:
        putMapping(String, String, ClassLoader)
      • putMapping

        public void putMapping​(String key,
                               String className,
                               ClassLoader cl)
        Adds a mapping from a key to a TokenMaker implementation class name.
        Parameters:
        key - The key.
        className - The TokenMaker class name.
        cl - The class loader to use when loading the class.
        See Also:
        putMapping(String, String)