org.eclipse.jst.jsf.designtime.symbols
Class DefaultBeanSymbolSourceProvider

java.lang.Object
  extended by org.eclipse.jst.jsf.designtime.symbols.DefaultBeanSymbolSourceProvider

public class DefaultBeanSymbolSourceProvider
extends java.lang.Object

Self-factory provider of bean symbol information for a particular project. Context is determined by querying all known managed beans declared in a web project. Client may sub-class


Method Summary
static DefaultBeanSymbolSourceProvider getInstance()
           
 ISymbol getSymbol(java.lang.String name, IAdaptable context, int symbolScopeMask)
           
 ISymbol[] getSymbols(IAdaptable context, int symbolScopeMask)
           
 ISymbol[] getSymbols(java.lang.String prefix, IAdaptable context, int symbolScopeMask)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static DefaultBeanSymbolSourceProvider getInstance()
Returns:
the singleton instance of the provider

getSymbols

public ISymbol[] getSymbols(IAdaptable context,
                            int symbolScopeMask)
Parameters:
context -
symbolScopeMask -
Returns:
all bean symbols for the context at scopes matching symbolScopeMask

getSymbol

public ISymbol getSymbol(java.lang.String name,
                         IAdaptable context,
                         int symbolScopeMask)
Parameters:
name -
context -
symbolScopeMask -
Returns:
the symbol called name, in context/symbolScope

getSymbols

public ISymbol[] getSymbols(java.lang.String prefix,
                            IAdaptable context,
                            int symbolScopeMask)
Parameters:
prefix -
context -
symbolScopeMask -
Returns:
all symbols for context and symbolScopeMask that start with prefix