if (args.length >= 2 && args[0].equals("-attach")) {
SocketAttachingConnectorImpl sac =
new SocketAttachingConnectorImpl(
(VirtualMachineManagerImpl) Bootstrap.
virtualMachineManager());
Map argMap = sac.defaultArguments();
Connector.Argument value;
value = (Connector.Argument) argMap.get("hostname");
value.setValue("localhost");
value = (Connector.Argument) argMap.get("port");
value.setValue(args[1]);