-
- All Superinterfaces:
-
InterceptorOperations
- All Known Subinterfaces:
-
IORInterceptor,IORInterceptor_3_0,IORInterceptor_3_0Operations
public interface IORInterceptorOperations extends InterceptorOperations
拦截器用于在IOR中的配置文件中建立标记的组件。在某些情况下,便携式ORB服务实现可能需要将描述服务器或对象的ORB服务相关功能的信息添加到对象引用中,以使客户端中的ORB服务实现正常运行。
这通过
IORInterceptor和IORInfo接口来支持。- 另请参见:
-
IORInfo
-
-
方法摘要
所有方法 接口方法 抽象方法 Modifier and Type 方法 描述 voidestablish_components(IORInfo info)服务器端ORB在组装要包含在对象引用的配置文件或配置文件中的组件的列表时,会对所有注册的IORInterceptor实例调用establish_components操作。-
Methods inherited from interface org.omg.PortableInterceptor.InterceptorOperations
destroy, name
-
-
-
-
方法详细信息
-
establish_components
void establish_components(IORInfo info)
服务器端ORB在组装将包含在对象引用的配置文件或配置文件中的组件的列表时,会对所有注册的IORInterceptor实例调用establish_components操作。 对于每个单独的对象引用不一定要调用此操作。 在POA的情况下,每次调用POA :: create_POA时都会调用此操作。 在任何情况下,establish_components保证每个不同的服务器策略集至少被调用一次。执行
establish_components不能抛出异常。 如果是这样,ORB将忽略异常,并继续调用下一个IOR Interceptor的establish_components操作。- 参数
-
info- TheIORInfoinstance used by the ORB service to query applicable policies and add components to be included in the generated IORs.
-
-