1. /*
  2. * @(#)ServantObject.java 1.13 03/01/23
  3. *
  4. * Copyright 2003 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package org.omg.CORBA.portable;
  8. /**
  9. This class is part of the local stub API, the purpose of which is to provide
  10. high performance calls for collocated clients and servers
  11. (i.e. clients and servers residing in the same Java VM).
  12. The local stub API is supported via three additional methods on
  13. <code>ObjectImpl</code> and <code>Delegate</code>.
  14. ORB vendors may subclass this class to return additional
  15. request state that may be required by their implementations.
  16. @see ObjectImpl
  17. @see Delegate
  18. */
  19. public class ServantObject
  20. {
  21. /** The real servant. The local stub may cast this field to the expected type, and then
  22. * invoke the operation directly. Note, the object may or may not be the actual servant
  23. * instance.
  24. * @return The real servant
  25. */
  26. public java.lang.Object servant;
  27. }