公共基本事件工厂上下文
事件工厂上下文提供查找事件工厂 Home 的服务。使用对 EventFactoryContext.getInstance 方法的调用来检索事件工厂上下文。
使用此类,您可按名称查找事件工厂 Home,并且不需要在代码中包括类型化 Home。EventFactoryHome 名称必须位于要查找的类路径中。EventFactoryContext 上下文也将 EventFactoryHome 名称存储为缺省值,后者可通过对 EventFactoryContext.getInstance.getEventFactoryHome 方法的调用来获取。
在 WebSphere® Application Server 中,将 EventFactoryContext 上下文配置为具有缺省 EventFactoryHome 名称,它与能提供事件模板信息及 WebSphere Application Server 运行时缺省信息的 ContentHandler 处理程序关联。
更多详细信息可以在地址为 www.eclipse.org/hyades 的 org.eclipse.hyades.logging.events.cbe.EventFactory 的 API 文档中找到。