return instance.getAddress();
}
public ModelNode getAddress() {
HostStore hostStore = Console.MODULES.getHostStore();
ServerStore serverStore = Console.MODULES.getServerStore();
ModelNode baseAddress = new ModelNode();
baseAddress.setEmptyList();
if(!bootstrap.isStandalone())
{
baseAddress.add("host", hostStore.getSelectedHost());
baseAddress.add("server", hostStore.getSelectedServer());
}
return baseAddress;
}