Package org.jboss.as.pojo.descriptor
Interface ConfigVisitor
- All Known Implementing Classes:
AbstractConfigVisitor,DefaultConfigVisitor
public interface ConfigVisitor
Config visitor.
- Author:
- Ales Justin
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddDependency(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.Get bean info.Get current nodes.org.jboss.modules.ModuleGet module for this visitor.org.jboss.as.server.deployment.reflect.DeploymentReflectionIndexGet reflection index.getState()Get current state.org.jboss.modules.ModuleloadModule(String identifier) Load module.voidvisit(ConfigVisitorNode node) Visit node's children.
-
Method Details
-
visit
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
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
Add bean dependency.- Parameters:
bean- the dependency namestate- the required bean state
-
addDependency
Add bean dependency.- Parameters:
bean- the dependency namestate- the required bean stateinjector- the injector
-