DefaultBundleCache
, implements the default file system-based bundle cache for Oscar.
Definition at line 62 of file OpenmisOscarBundleArchive.java.
Public Member Functions | |
OpenmisOscarBundleArchive (LogService logger, File dir, long id, String location, InputStream is) throws Exception | |
OpenmisOscarBundleArchive (LogService logger, File dir, long id) | |
File | getDirectory () |
long | getId () |
String | getLocation () throws Exception |
int | getPersistentState () throws Exception |
void | setPersistentState (int state) throws Exception |
int | getStartLevel () throws Exception |
void | setStartLevel (int level) throws Exception |
File | getDataFile (String fileName) throws Exception |
BundleActivator | getActivator (ClassLoader loader) throws Exception |
void | setActivator (Object obj) throws Exception |
int | getRevisionCount () throws Exception |
int | getRevisionCountUnchecked () |
Map | getManifestHeader (int revision) throws Exception |
String[] | getClassPath (int revision) throws Exception |
String | findLibrary (int revision, String libName) throws Exception |
Protected Member Functions | |
void | update (InputStream is) throws Exception |
void | purge () throws Exception |
void | remove () throws Exception |
Static Protected Member Functions | |
static boolean | deleteDirectoryTree (File target) |
Classes | |
class | PrivilegedAction |