Module  java.corba

Interface InterceptorOperations

    • 方法详细信息

      • name

        String name​()
        返回拦截器的名称。

        每个拦截器可能有一个名称,可以用来管理拦截器列表。 每个拦截器类型只能向ORB注册一个给定名称的拦截器。 拦截器可能是匿名的,即具有空字符串作为name属性。 任何数量的匿名拦截器都可以向ORB注册。

        结果
        拦截器的名称。
      • destroy

        void destroy​()
        Provides an opportunity to destroy this interceptor. The destroy method is called during ORB.destroy. When an application calls ORB.destroy, the ORB:
        1. waits for all requests in progress to complete
        2. calls the Interceptor.destroy operation for each interceptor
        3. completes destruction of the ORB
        Method invocations from within 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.)