public class ServiceProvider
extends java.lang.Object
The services are bootstrapped in the bootstrapper and injected by guice.
| Constructor | Description |
|---|---|
ServiceProvider(java.util.Map<java.lang.String,Layouter> layouterMap,
java.util.Map<java.lang.String,Parser> parserMap,
java.util.Map<java.lang.String,Stringifyer> stringifyerMap) |
| Modifier and Type | Method | Description |
|---|---|---|
Layouter |
getLayouter(java.lang.String moduleName) |
Returns the layouter for the given module
|
Parser |
getParser(java.lang.String moduleName) |
Returns the parser for the given module
|
Stringifyer |
getStringifyer(java.lang.String moduleName) |
Returns the stringifyer for the given module
|
@Inject public ServiceProvider(java.util.Map<java.lang.String,Layouter> layouterMap, java.util.Map<java.lang.String,Parser> parserMap, java.util.Map<java.lang.String,Stringifyer> stringifyerMap)
public Layouter getLayouter(java.lang.String moduleName)
moduleName - name of the modulepublic Parser getParser(java.lang.String moduleName)
moduleName - name of the modulepublic Stringifyer getStringifyer(java.lang.String moduleName)
moduleName - name of the module