if (AdminPermission.class.getName().equals(type)) { return new AdminPermission(name,actions,framework); }
	protected Permission createPermission(PermissionInfo info) {		String type = info.getType();		String name = info.getName();		String actions = info.getActions();		UnresolvedPermission permission = new UnresolvedPermission(type, name, actions);		try {			/* Only search the system classloader (ours) at this point.			 * Permission classes exported by bundles will be			 * resolved later.			 * This is done so that permission classes exported by bundles			 * may be easily unresolved during packageRefresh.			 */			Class clazz = Class.forName(type);			Permission resolved = permission.resolve(clazz);			if (resolved != null) {				if (Debug.DEBUG && Debug.DEBUG_SECURITY) {					Debug.println("Created permission: " + resolved); //$NON-NLS-1$				}				return resolved;			}		} catch (ClassNotFoundException e) {		}		if (Debug.DEBUG && Debug.DEBUG_SECURITY) {			Debug.println("Created permission: " + permission); //$NON-NLS-1$		}		return permission;	}