1 11 package org.eclipse.osgi.service.datalocation; 12 13 import java.io.IOException ; 14 import java.net.URL ; 15 16 25 public interface Location { 26 27 33 public static final String INSTANCE_FILTER = "(&(objectClass=" + Location.class.getName() + ")(type=osgi.instance.area))"; 35 41 public static final String INSTALL_FILTER = "(&(objectClass=" + Location.class.getName() + ")(type=osgi.install.area))"; 43 49 public static final String CONFIGURATION_FILTER = "(&(objectClass=" + Location.class.getName() + ")(type=osgi.configuration.area))"; 51 57 public static final String USER_FILTER = "(&(objectClass=" + Location.class.getName() + ")(type=osgi.user.area))"; 59 65 public boolean allowsDefault(); 66 67 74 public URL getDefault(); 75 76 81 public Location getParentLocation(); 82 83 91 public URL getURL(); 92 93 99 public boolean isSet(); 100 101 109 public boolean isReadOnly(); 110 111 121 public boolean setURL(URL value, boolean lock) throws IllegalStateException ; 122 123 135 public boolean lock() throws IOException ; 136 137 141 public void release(); 142 } 143 | Popular Tags |