Interface LnUrlServiceFactory


  • public interface LnUrlServiceFactory
    Factory interface for constructing LnUrlService instances.
    • Method Detail

      • construct

        LnUrlService construct​(java.util.Map<java.lang.String,​java.lang.Object> data)
                        throws LnUrlException
        Constructs a LnUrlService based on the provided data.

        This method should return null if the factory cannot handle the request. Or a fully initialized LnUrlService otherwise.

        Parameters:
        data - the request data, which is a map of key-value pairs
        Returns:
        a LnUrlService instance or null if the factory cannot handle this request.
        Throws:
        LnUrlException