public interface IORInterceptorOperations extends InterceptorOperations
在某些情况下,便携式ORB服务实现可能需要将描述服务器或对象的ORB服务相关功能的信息添加到对象引用中,以使客户端中的ORB服务实现正常运行。
这通过IORInterceptor和IORInfo接口支持。
IORInfo
| Modifier and Type | Method and Description |
|---|---|
void |
establish_components(IORInfo info)
服务器端ORB在
establish_components将被包含在对象引用的配置文件或配置文件中的组件的列表时,会在所有已
IORInterceptor的
establish_components实例上调用
establish_components操作。
|
destroy, namevoid establish_components(IORInfo info)
establish_components将包含在对象引用的配置文件或配置文件中的组件的列表时,会在所有已IORInterceptor的establish_components实例上调用establish_components操作。
对于每个单独的对象引用不一定要调用此操作。
在POA的情况下,每次调用POA :: create_POA时都会调用此操作。
在任何情况下, establish_components保证每个不同的服务器策略集至少被调用一次。
establish_components的establish_components不能抛出异常。 如果是这样,ORB将忽略异常,并继续调用下一个IOR Interceptor的establish_components操作。
info - The
IORInfo instance used by the ORB service to query applicable policies and add components to be included in the generated IORs.
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.