org.eclipse.jst.jsf.designtime.symbols
Class DefaultBeanSymbolSourceProvider
java.lang.Object
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
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static DefaultBeanSymbolSourceProvider getInstance()
- Returns:
- the singleton instance of the provider
getSymbols
public ISymbol[] getSymbols(org.eclipse.core.runtime.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,
org.eclipse.core.runtime.IAdaptable context,
int symbolScopeMask)
- Parameters:
name
- context
- symbolScopeMask
-
- Returns:
- the symbol called name, in context/symbolScope
getSymbols
public ISymbol[] getSymbols(java.lang.String prefix,
org.eclipse.core.runtime.IAdaptable context,
int symbolScopeMask)
- Parameters:
prefix
- context
- symbolScopeMask
-
- Returns:
- all symbols for context and symbolScopeMask that start with
prefix