public class MetaTypeUtil extends Object
Modifier and Type | Method and Description |
---|---|
static Dictionary |
getProperties(org.apache.felix.metatype.Designate designate,
org.osgi.service.metatype.ObjectClassDefinition ocd)
Determines the actual configuration data based on the specified designate and object class definition
|
public static Dictionary getProperties(org.apache.felix.metatype.Designate designate, org.osgi.service.metatype.ObjectClassDefinition ocd) throws org.osgi.service.deploymentadmin.spi.ResourceProcessorException
designate
- The designate object containing the values for the propertiesocd
- The object class definitionnull
if the designate does not match it's
definition and the designate was marked as optional.org.osgi.service.deploymentadmin.spi.ResourceProcessorException
- If the designate does not match the ocd and the designate is not marked as optional.Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.