Package org.jboss.as.ee.component
Class InjectionSource.ResolutionContext
- java.lang.Object
-
- org.jboss.as.ee.component.InjectionSource.ResolutionContext
-
- Enclosing class:
- InjectionSource
public static class InjectionSource.ResolutionContext extends Object
A resolution context for the injection source.
-
-
Constructor Summary
Constructors Constructor Description ResolutionContext(boolean compUsesModule, String componentName, String moduleName, String applicationName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetApplicationName()Get the current application name, ornullif there is none.StringgetComponentName()Get the current component name, ornullif there is none.StringgetModuleName()Get the current module name, ornullif there is none.booleanisCompUsesModule()Determine whether the resolution context has a combined "comp" and "module" namespace.
-
-
-
Method Detail
-
isCompUsesModule
public boolean isCompUsesModule()
Determine whether the resolution context has a combined "comp" and "module" namespace.- Returns:
trueif "comp" is an alias for "module",falseotherwise
-
getComponentName
public String getComponentName()
Get the current component name, ornullif there is none.- Returns:
- the current component name
-
getModuleName
public String getModuleName()
Get the current module name, ornullif there is none.- Returns:
- the current module name
-
getApplicationName
public String getApplicationName()
Get the current application name, ornullif there is none.- Returns:
- the current application name
-
-