KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > corba > se > spi > oa > ObjectAdapterFactory


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
8 package com.sun.corba.se.spi.oa ;
9
10 import com.sun.corba.se.spi.oa.ObjectAdapter ;
11
12 import com.sun.corba.se.spi.orb.ORB ;
13
14 import com.sun.corba.se.spi.ior.ObjectAdapterId ;
15
16 public interface ObjectAdapterFactory {
17     /** Initialize this object adapter factory instance.
18     */

19     void init( ORB orb ) ;
20
21     /** Shutdown all object adapters and other state associated
22      * with this factory.
23      */

24     void shutdown( boolean waitForCompletion ) ;
25
26     /** Find the ObjectAdapter instance that corresponds to the
27     * given ObjectAdapterId.
28     */

29     ObjectAdapter find( ObjectAdapterId oaid ) ;
30
31     ORB getORB() ;
32 }
33
Popular Tags