public ModelNode getAddress() {
final DomainEntityManager domainManager = Console.MODULES.getDomainEntityManager();
ModelNode baseAddress = new ModelNode();
baseAddress.setEmptyList();
if(!bootstrap.isStandalone())
{
baseAddress.add("host", domainManager.getSelectedHost());
baseAddress.add("server", domainManager.getSelectedServer());
}
return baseAddress;
}