Package org.jboss.as.ee.component
Class InjectionSource.ResolutionContext
java.lang.Object
org.jboss.as.ee.component.InjectionSource.ResolutionContext
- Enclosing class:
- InjectionSource
A resolution context for the injection source.
-
Constructor Summary
ConstructorsConstructorDescriptionResolutionContext(boolean compUsesModule, String componentName, String moduleName, String applicationName) -
Method Summary
Modifier and TypeMethodDescriptionGet the current application name, ornullif there is none.Get the current component name, ornullif there is none.Get the current module name, ornullif there is none.booleanDetermine whether the resolution context has a combined "comp" and "module" namespace.
-
Constructor Details
-
ResolutionContext
-
-
Method Details
-
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
Get the current component name, ornullif there is none.- Returns:
- the current component name
-
getModuleName
Get the current module name, ornullif there is none.- Returns:
- the current module name
-
getApplicationName
Get the current application name, ornullif there is none.- Returns:
- the current application name
-