public class SpecificationMetadata
extends java.lang.Object
| Constructor and Description |
|---|
SpecificationMetadata(java.lang.Class clazz,
java.lang.String type,
ProvidedServiceHandler psd)
Constructor.
|
SpecificationMetadata(java.lang.String name,
org.osgi.framework.BundleContext context,
boolean isAggregate,
boolean isOptional,
ProvidedServiceHandler psd)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getComponentType() |
MethodMetadata |
getMethodByName(java.lang.String name)
Get a method by its name.
|
java.util.List |
getMethods() |
java.lang.String |
getName() |
boolean |
isAggregate() |
boolean |
isInterface() |
boolean |
isOptional() |
void |
setIsOptional(boolean optional) |
public SpecificationMetadata(java.lang.String name,
org.osgi.framework.BundleContext context,
boolean isAggregate,
boolean isOptional,
ProvidedServiceHandler psd)
name - : specification name.context - : bundle context.isAggregate - : is the specification aggregate.isOptional - : is the specification optional.psd - : the handler.public SpecificationMetadata(java.lang.Class clazz,
java.lang.String type,
ProvidedServiceHandler psd)
clazz - : classtype - : component typepsd - : the parent handlerpublic java.lang.String getName()
public java.util.List getMethods()
public MethodMetadata getMethodByName(java.lang.String name)
name - : method namepublic boolean isAggregate()
public boolean isOptional()
public boolean isInterface()
public void setIsOptional(boolean optional)
public java.lang.String getComponentType()
Copyright © 2006-2014 The Apache Software Foundation. All Rights Reserved.