public interface InterceptorOperations
String name()
每个拦截器可能有一个名称,可以用来管理拦截器列表。 每个拦截器类型只能向ORB注册一个给定名称的拦截器。 拦截器可能是匿名的,即具有空字符串作为name属性。 任何数量的匿名拦截器都可以向ORB注册。
void destroy()
ORB.destroy
. When an application calls
ORB.destroy
, the ORB:
Interceptor.destroy
operation for each interceptorInterceptor.destroy
on object references for objects implemented on the ORB being destroyed result in undefined behavior. However, method invocations on objects implemented on an ORB other than the one being destroyed are permitted. (This means that the ORB being destroyed is still capable of acting as a client, but not as a server.)