Package org.jboss.as.pojo.descriptor
Interface ConfigVisitor
-
- All Known Implementing Classes:
AbstractConfigVisitor,DefaultConfigVisitor
public interface ConfigVisitorConfig visitor.- Author:
- Ales Justin
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddDependency(String bean, BeanState state)Add bean dependency.voidaddDependency(String bean, BeanState state, org.jboss.msc.inject.Injector injector)Add bean dependency.voidaddDependency(org.jboss.msc.service.ServiceName name)Add dependency.voidaddDependency(org.jboss.msc.service.ServiceName name, org.jboss.msc.inject.Injector injector)Add dependency.BeanInfogetBeanInfo()Get bean info.Deque<ConfigVisitorNode>getCurrentNodes()Get current nodes.org.jboss.modules.ModulegetModule()Get module for this visitor.org.jboss.as.server.deployment.reflect.DeploymentReflectionIndexgetReflectionIndex()Get reflection index.BeanStategetState()Get current state.org.jboss.modules.ModuleloadModule(org.jboss.modules.ModuleIdentifier identifier)Load module.voidvisit(ConfigVisitorNode node)Visit node's children.
-
-
-
Method Detail
-
visit
void visit(ConfigVisitorNode node)
Visit node's children.- Parameters:
node- the config node
-
getCurrentNodes
Deque<ConfigVisitorNode> getCurrentNodes()
Get current nodes.- Returns:
- the current nodes
-
getState
BeanState getState()
Get current state.- Returns:
- the state
-
getModule
org.jboss.modules.Module getModule()
Get module for this visitor.- Returns:
- the classloader
-
loadModule
org.jboss.modules.Module loadModule(org.jboss.modules.ModuleIdentifier identifier)
Load module.- Parameters:
identifier- the module identifier- Returns:
- loaded module
-
getReflectionIndex
org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex getReflectionIndex()
Get reflection index.- Returns:
- the reflection index
-
getBeanInfo
BeanInfo getBeanInfo()
Get bean info.- Returns:
- the bean info
-
addDependency
void addDependency(org.jboss.msc.service.ServiceName name)
Add dependency.- Parameters:
name- the dependency name
-
addDependency
void addDependency(org.jboss.msc.service.ServiceName name, org.jboss.msc.inject.Injector injector)Add dependency.- Parameters:
name- the dependency nameinjector- the injector
-
addDependency
void addDependency(String bean, BeanState state)
Add bean dependency.- Parameters:
bean- the dependency namestate- the required bean state
-
-