/**
* @see java.beans.beancontext.BeanContextServicesSupport#getBeanContextServicesPeer()
*/
public Result testGetBeanContextServicesPeer() throws Exception {
context = new BeanContextServicesSupport();
serviceBean = new ServiceBean();
// Adding the component
context.add(serviceBean);
// Add service to the context
if ((context.getBeanContextServicesPeer() instanceof BeanContextServicesSupport))
return passed();
else
return failed("method testGetBeanContextServicesPeer");
}
TestBeanContextServicesSupport.java 文件源码
java
阅读 42
收藏 0
点赞 0
评论 0
项目:freeVM
作者:
评论列表
文章目录