router.attach("/backup",BackupResource.class);
router.attach("/backup.zip",BackupResource.class);
router.attach("/restore",RestoreResource.class);
router.attach("/derby",new DerbyApplication(getContext(),db,storage));
router.attach("/restart",RestartResource.class).getTemplate().setMatchingMode(Template.MODE_EQUALS);
Application storageAdmin = storage.getAdministration();
if (storageAdmin!=null) {
router.attach("/storage",storageAdmin);
}
return attFilter;
}