*/
private VcTask destroy(final IVcTaskCallback callback) throws Exception {
VcTask task = VcContext.getTaskMgr().execute(new IVcTaskBody() {
public VcTask body() throws Exception {
final ResourcePool rp = getManagedObject();
return new VcTask(TaskType.DestroyRp, rp.destroy(), callback);
}
});
logger.debug("destroy_rp task RP " + this + " created");
return task;