public class KnowledgeServiceImpl extends Object implements KnowledgeService, org.springframework.context.ApplicationContextAware
BEAN_ID| 构造器和说明 |
|---|
KnowledgeServiceImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
KnowledgePackage |
getKnowledge(String packageId)
根据给定的资源包ID获取对应的KnowledgePackage对象
|
KnowledgePackage[] |
getKnowledges(String[] packageIds)
根据给定的一个或多个资源包ID获取对应的KnowledgePackage对象的集合
|
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
void |
setKnowledgeUpdateCycle(String knowledgeUpdateCycle) |
void |
setRemoteService(RemoteService remoteService) |
public KnowledgePackage[] getKnowledges(String[] packageIds) throws IOException
KnowledgeServicegetKnowledges 在接口中 KnowledgeServicepackageIds - 资源包ID数组IOException - 抛出IO异常public KnowledgePackage getKnowledge(String packageId) throws IOException
KnowledgeServicegetKnowledge 在接口中 KnowledgeServicepackageId - 资源包IDIOException - 抛出IO异常public void setRemoteService(RemoteService remoteService)
public void setKnowledgeUpdateCycle(String knowledgeUpdateCycle)
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext 在接口中 org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionCopyright © 2018 Bstek. All rights reserved.