log.debug("Encountered EJB3 deployment " + unit + ", adding dependencies " + items);
// We add to toplevel, because DeploymentControllerContext will deploy all kids when it goes to install
unit.getTopLevel().addAttachment(DependenciesMetaData.class, dependencies);
*/
//ControllerContext context = unit.getAttachment(ControllerContext.class);
unit.addIDependOn(new AbstractDependencyItem(unit.getName(), TransactionManager.class, new ControllerState("Real"), ControllerState.INSTALLED));
}
private DependencyItemMetaData createDependencyItemMetaData(String name)
{
DependencyItemMetaData item = new DependencyItemMetaData();