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