Package org.ngengine.lnurl
Interface LnUrlServiceFactory
-
public interface LnUrlServiceFactoryFactory interface for constructing LnUrlService instances.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LnUrlServiceconstruct(java.util.Map<java.lang.String,java.lang.Object> data)Constructs a LnUrlService based on the provided data.
-
-
-
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
-
-