1. /*
  2. * @(#)ObjectAdapterFactory.java 1.13 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.oa ;
  8. import com.sun.corba.se.spi.oa.ObjectAdapter ;
  9. import com.sun.corba.se.spi.orb.ORB ;
  10. import com.sun.corba.se.spi.ior.ObjectAdapterId ;
  11. public interface ObjectAdapterFactory {
  12. /** Initialize this object adapter factory instance.
  13. */
  14. void init( ORB orb ) ;
  15. /** Shutdown all object adapters and other state associated
  16. * with this factory.
  17. */
  18. void shutdown( boolean waitForCompletion ) ;
  19. /** Find the ObjectAdapter instance that corresponds to the
  20. * given ObjectAdapterId.
  21. */
  22. ObjectAdapter find( ObjectAdapterId oaid ) ;
  23. ORB getORB() ;
  24. }