1 /* 2 * @(#)IIOPProfile.java 1.15 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.ior.iiop; 9 10 import com.sun.corba.se.spi.ior.TaggedProfile ; 11 12 import com.sun.corba.se.spi.orb.ORB ; 13 import com.sun.corba.se.spi.orb.ORBVersion ; 14 15 import com.sun.corba.se.spi.ior.iiop.GIOPVersion ; 16 17 /** IIOPProfile represents an IIOP tagged profile. 18 * It is essentially composed of an object identifier and 19 * a template. The template contains all of the 20 * IIOP specific information in the profile. 21 * Templates are frequently shared between many different profiles, 22 * while the object identifiy is unique to each profile. 23 */ 24 public interface IIOPProfile extends TaggedProfile 25 { 26 ORBVersion getORBVersion() ; 27 28 /** Return the servant for this profile, if it is local 29 * AND if the OA that implements this objref supports direct access to servants 30 * outside of an invocation. 31 * XXX move this to the ObjectKeyTemplate 32 */ 33 java.lang.Object getServant() ; 34 35 /** Return the GIOPVersion of this profile. Caches the result. 36 */ 37 GIOPVersion getGIOPVersion() ; 38 39 /** Return the Codebase of this profile. Caches the result. 40 */ 41 String getCodebase() ; 42 } 43