org.apache.felix.deployment.rp.autoconf
Class AutoConfResource
java.lang.Object
org.apache.felix.deployment.rp.autoconf.AutoConfResource
- All Implemented Interfaces:
- Serializable
public class AutoConfResource
- extends Object
- implements Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AutoConfResource
public AutoConfResource(String name,
String pid,
String factoryPid,
String bundleLocation,
boolean merge,
Dictionary properties)
getName
public String getName()
getPid
public String getPid()
getFactoryPid
public String getFactoryPid()
- Returns empty string if this configuration is not a factory configuration, otherwise the factory
PID is returned.
- Returns:
- Empty string if this is not a factory configuration resource, else the factory PID is returned.
getProperties
public Dictionary getProperties()
getBundleLocation
public String getBundleLocation()
isMerge
public boolean isMerge()
isFactoryConfig
public boolean isFactoryConfig()
setGeneratedPid
public void setGeneratedPid(String alias)
getGeneratedPid
public String getGeneratedPid()
equalsTargetConfiguration
public boolean equalsTargetConfiguration(AutoConfResource resource)
- Determine if the specified
AutoConfResource
is meant to be used for the same Configuration
as this object.
- Parameters:
resource
- The AutoConfResource
to compare with.
- Returns:
- Returns
true
if the two resources are meant to be used for the same Configuration
object, false otherwise.
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.