站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc 4.1.0

ContextProvider (NetBeans Debugger Core API) - NetBeans API Javadoc 4.1.0

 

org.netbeans.spi.debugger
Interface ContextProvider


public interface ContextProvider

Abstract ancestor of classes providing lookup.


Method Summary
 List lookup(String folder, Class service)
          Returns list of services of given type from given folder.
 Object lookupFirst(String folder, Class service)
          Returns one service of given type from given folder.
 

Method Detail

lookup

public List lookup(String folder,
                   Class service)
Returns list of services of given type from given folder.

Parameters:
folder - a folder name or null
service - a type of service to look for
Returns:
list of services of given type

lookupFirst

public Object lookupFirst(String folder,
                          Class service)
Returns one service of given type from given folder.

Parameters:
folder - a folder name or null
service - a type of service to look for
Returns:
ne service of given type

 

Built on May 4 2005.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.