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 String
getApplicationName()
Get the current application name, ornull
if there is none.String
getComponentName()
Get the current component name, ornull
if there is none.String
getModuleName()
Get the current module name, ornull
if there is none.boolean
isCompUsesModule()
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:
true
if "comp" is an alias for "module",false
otherwise
-
getComponentName
public String getComponentName()
Get the current component name, ornull
if there is none.- Returns:
- the current component name
-
getModuleName
public String getModuleName()
Get the current module name, ornull
if there is none.- Returns:
- the current module name
-
getApplicationName
public String getApplicationName()
Get the current application name, ornull
if there is none.- Returns:
- the current application name
-
-