KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > corba > se > spi > orb > ORBVersion


1 /*
2  * @(#)ORBVersion.java 1.10 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.orb ;
9
10 import org.omg.CORBA.portable.OutputStream JavaDoc ;
11
12 public interface ORBVersion extends Comparable JavaDoc
13 {
14     byte FOREIGN = 0 ; // ORB from another vendor
15
byte OLD = 1 ; // JDK 1.3.0 or earlier
16
byte NEW = 2 ; // JDK 1.3.1 FCS
17
byte JDK1_3_1_01 = 3; // JDK1_3_1_01 patch
18
byte NEWER = 10 ; // JDK 1.4.x
19
byte PEORB = 20 ; // PEORB in JDK 1.5, S1AS 8, J2EE 1.4
20

21     byte getORBType() ;
22
23     void write( OutputStream JavaDoc os ) ;
24
25     public boolean lessThan( ORBVersion version ) ;
26 }
27
Popular Tags