Package org.webswing.server.extension
Class ExtensionServiceImpl
- java.lang.Object
-
- org.webswing.server.extension.ExtensionServiceImpl
-
- All Implemented Interfaces:
WebswingService,ExtensionDependencies,ExtensionService
public class ExtensionServiceImpl extends Object implements ExtensionService, ExtensionDependencies
-
-
Constructor Summary
Constructors Constructor Description ExtensionServiceImpl(ExtensionClassLoader extensionLoader, SwingProcessService processService, ConfigurationService configuService, RestService restService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<UrlHandler>createExtHandlers(PrimaryUrlHandler parent)RestUrlHandlercreateRestHandler(UrlHandler parent, Class... resources)ConfigurationServicegetConfigService()SwingProcessServicegetProcessService()protected ExtensionProvidergetProvider()voidstart()voidstop()
-
-
-
Constructor Detail
-
ExtensionServiceImpl
@Inject public ExtensionServiceImpl(ExtensionClassLoader extensionLoader, SwingProcessService processService, ConfigurationService configuService, RestService restService)
-
-
Method Detail
-
start
public void start() throws org.webswing.server.model.exception.WsInitException- Specified by:
startin interfaceWebswingService- Throws:
org.webswing.server.model.exception.WsInitException
-
stop
public void stop()
- Specified by:
stopin interfaceWebswingService
-
createExtHandlers
public List<UrlHandler> createExtHandlers(PrimaryUrlHandler parent)
- Specified by:
createExtHandlersin interfaceExtensionService
-
getProcessService
public SwingProcessService getProcessService()
- Specified by:
getProcessServicein interfaceExtensionDependencies
-
getConfigService
public ConfigurationService getConfigService()
- Specified by:
getConfigServicein interfaceExtensionDependencies
-
createRestHandler
public RestUrlHandler createRestHandler(UrlHandler parent, Class... resources)
- Specified by:
createRestHandlerin interfaceExtensionDependencies
-
getProvider
protected ExtensionProvider getProvider()
-
-