/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
this();
}
public SAPIDAttachingConnector() {
super();
// fixme jjh: create resources for the these strings,
"PID", //getString("sa.pid.label"),
"PID of a Java process", //getString("sa.pid.description");
"",
true);
return "local process";
}
};
}
// security check to see whether the caller can perform attach
try {
// Whether the caller can perform link against SA native library?
// Whether the caller can read /proc/<pid> file?
}
} catch (SecurityException se) {
}
}
}
new Class[] {
VirtualMachineManager.class,
});
new Object[] {
new Integer(0)
});
}
int pid = 0;
try {
} catch (NumberFormatException nfe) {
}
try {
try {
} catch (InvocationTargetException ite) {
if (vmImplClass != null) {
} else {
throw ite;
}
}
if (DEBUG) {
}
}
return myVM;
}
return "sun.jvm.hotspot.jdi.SAPIDAttachingConnector";
}
return getString("This connector allows you to attach to a Java process using the Serviceability Agent");
}
return transport;
}
}