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