1. /*
  2. * @(#)ObjectCopier.java 1.4 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.copyobject ;
  8. /** Provides an interface for a variety of means to copy an arbitrary
  9. * object. Any implementation of this interface must return an exact
  10. * copy of obj, preserving all aliasing across all objects reachable
  11. * from obj. ReflectiveCopyException must be thrown if the implementation
  12. * cannot copy obj for some reason. Note that a trivial implementation
  13. * of this interface is possible (always return obj), but this is often
  14. * not the desired implementation.
  15. */
  16. public interface ObjectCopier {
  17. Object copy( Object obj ) throws ReflectiveCopyException ;
  18. }