public class AppServiceManagerImpl extends AppServiceManager
构造器和说明 |
---|
AppServiceManagerImpl(CoreApplication context) |
限定符和类型 | 方法和说明 |
---|---|
void |
destroy()
销毁
|
void |
destroyAllService()
销毁所有服务
|
void |
destroyService(String name)
销毁一个应用服务
|
AppService |
getAppService(String name)
获取一个应用服务
|
void |
initServiceProperties()
已过时。
|
void |
initSource(InputStream is)
设置初始化源
|
void |
registerService(Class<? extends AppService> clazz)
注册一个自定义AppService
|
void |
setDebug(boolean debug)
设置debug
|
void |
setScanPackage(String... packageName)
设置服务扫描包
|
public AppServiceManagerImpl(CoreApplication context)
public void setDebug(boolean debug)
AppServiceManager
setDebug
在类中 AppServiceManager
public AppService getAppService(String name)
AppServiceManager
getAppService
在类中 AppServiceManager
public void registerService(Class<? extends AppService> clazz)
AppServiceManager
registerService
在类中 AppServiceManager
public void destroyService(String name)
AppServiceManager
destroyService
在类中 AppServiceManager
public void destroyAllService()
AppServiceManager
destroyAllService
在类中 AppServiceManager
public void destroy()
AppServiceManager
destroy
在类中 AppServiceManager
public void setScanPackage(String... packageName)
AppServiceManager
setScanPackage
在类中 AppServiceManager
@Deprecated public void initServiceProperties()
public void initSource(InputStream is)
AppServiceManager
initSource
在类中 AppServiceManager