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