-
- All Known Subinterfaces:
-
ClientRequestInterceptor
,ClientRequestInterceptorOperations
,Interceptor
,IORInterceptor
,IORInterceptor_3_0
,IORInterceptor_3_0Operations
,IORInterceptorOperations
,ServerRequestInterceptor
,ServerRequestInterceptorOperations
public interface InterceptorOperations
所有便携式拦截器实施拦截器。
-
-
方法详细信息
-
name
String name()
返回拦截器的名称。每个拦截器可能有一个名称,可以用来管理拦截器列表。 每个拦截器类型只能向ORB注册一个给定名称的拦截器。 拦截器可能是匿名的,即具有空字符串作为name属性。 任何数量的匿名拦截器都可以向ORB注册。
- 结果
- 拦截器的名称。
-
destroy
void destroy()
Provides an opportunity to destroy this interceptor. The destroy method is called duringORB.destroy
. When an application callsORB.destroy
, the ORB:- waits for all requests in progress to complete
- calls the
Interceptor.destroy
operation for each interceptor - completes destruction of the ORB
Interceptor.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.)
-
-