KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > javax > jnlp > ServiceManagerStub


1 /*
2  * @(#)ServiceManagerStub.java 1.10 04/03/12
3  *
4  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7
8 package javax.jnlp;
9
10 /**
11  * A <code>ServiceManagerStub</code> object implements the particular
12  * lookup of JNLP services by the JNLP Client. The object
13  * is registered with the <code>ServiceManager</code> using the
14  * <code>{@link ServiceManager#setServiceManagerStub}</code> method.
15  *
16  * @since 1.0
17  *
18  * @see javax.jnlp.ServiceManager
19  */

20 public interface ServiceManagerStub {
21    
22     /** See description for {@link ServiceManager#lookup} */
23     public Object lookup(String name) throws UnavailableServiceException;
24     
25     /** See description for {@link ServiceManager#getServiceNames} */
26     public String[] getServiceNames();
27 }
28
Popular Tags