| 1 36 package org.ungoverned.oscar; 37 38 import java.io.File ; 39 import java.util.Map ; 40 41 import org.osgi.framework.BundleActivator; 42 43 53 public interface BundleArchive 54 { 55 61 public long getId(); 62 63 70 public String getLocation() 71 throws Exception ; 72 73 81 public int getPersistentState() 82 throws Exception ; 83 84 92 public void setPersistentState(int state) 93 throws Exception ; 94 95 102 public int getStartLevel() 103 throws Exception ; 104 105 112 public void setStartLevel(int level) 113 throws Exception ; 114 115 124 public File getDataFile(String fileName) 125 throws Exception ; 126 127 139 public BundleActivator getActivator(ClassLoader loader) 140 throws Exception ; 141 142 151 public void setActivator(Object obj) 152 throws Exception ; 153 154 165 public int getRevisionCount() 166 throws Exception ; 167 168 179 public Map getManifestHeader(int revision) 180 throws Exception ; 181 182 196 public String [] getClassPath(int revision) 197 throws Exception ; 198 199 211 public String findLibrary(int revision, String libName) 212 throws Exception ; 213 } | Popular Tags |