KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > corba > se > spi > oa > NullServant


1 /*
2  * @(#)NullServant.java 1.2 03/12/19
3  *
4  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7
8 package com.sun.corba.se.spi.oa ;
9
10 import org.omg.CORBA.SystemException JavaDoc ;
11
12 /** NullServant is used to represent a null servant returned
13  * OAInvocationInfo after a
14  * ObjectAdapter.getInvocationServant( OAInvocationInfo ) call.
15  * If the getInvocationServant call could not locate a servant
16  * for the ObjectId in the OAInvocationInfo, getServantContainer
17  * will contain a NullServant. Later stages of the request
18  * dispatch may choose either to throw the exception or perform
19  * some other action in response to the NullServant result.
20  */

21 public interface NullServant
22 {
23     /** Obtain the exception that is associated with this
24      * NullServant instance.
25      */

26     SystemException JavaDoc getException() ;
27 }
28
Popular Tags