public class AutoConfResource extends Object implements Serializable
| Constructor and Description |
|---|
AutoConfResource(String name,
String pid,
String factoryPid,
String bundleLocation,
boolean merge,
Dictionary properties,
org.osgi.framework.Filter filter) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equalsTargetConfiguration(AutoConfResource resource)
Determine if the specified
AutoConfResource is meant to be used for the same Configuration as this object. |
String |
getBundleLocation() |
String |
getFactoryPid()
Returns empty string if this configuration is not a factory configuration, otherwise the factory
PID is returned.
|
org.osgi.framework.Filter |
getFilter() |
String |
getGeneratedPid() |
String |
getName() |
String |
getPid() |
Dictionary |
getProperties() |
boolean |
isFactoryConfig() |
boolean |
isMerge() |
void |
setGeneratedPid(String alias) |
public AutoConfResource(String name, String pid, String factoryPid, String bundleLocation, boolean merge, Dictionary properties, org.osgi.framework.Filter filter)
public String getName()
public String getPid()
public org.osgi.framework.Filter getFilter()
public String getFactoryPid()
public Dictionary getProperties()
public String getBundleLocation()
public boolean isMerge()
public boolean isFactoryConfig()
public void setGeneratedPid(String alias)
public String getGeneratedPid()
public boolean equalsTargetConfiguration(AutoConfResource resource)
AutoConfResource is meant to be used for the same Configuration as this object.resource - The AutoConfResource to compare with.true if the two resources are meant to be used for the same Configuration object, false otherwise.Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.