unit.addIDependOn(new AbstractDependencyItem(unit.getName(), TransactionManager.class, ControllerState.getInstance("Real"), ControllerState.INSTALLED));
}
private DependencyItemMetaData createDependencyItemMetaData(String name)
{
DependencyItemMetaData item = new DependencyItemMetaData();
item.setValue(name);
// This is ugly, MC checks on String value
//item.setWhenRequired(new ControllerState(DeploymentStages.REAL.toString()));
item.setWhenRequired(ControllerState.getInstance("Real"));
item.setDependentState(ControllerState.INSTALLED);
return item;
}
public Class<JBossMetaData> getVisitorType()
{