StorageHook[] hooks = adaptor.getHookRegistry().getStorageHooks(); StorageHook[] instanceHooks = new StorageHook[hooks.length]; for (int i = 0; i < hooks.length; i++) instanceHooks[i] = hooks[i].create(this); setStorageHooks(instanceHooks);
	public SystemBundleData(BaseAdaptor adaptor) throws BundleException {		super(0, adaptor);		File osgiBase = getOsgiBase();		createBundleFile(osgiBase);		manifest = createManifest(osgiBase);		setMetaData();		setLastModified(System.currentTimeMillis()); // just set the lastModified to the current time	}