|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.felix.ipojo.composite.service.provides.SpecificationMetadata
public class SpecificationMetadata
Represent a service specification.
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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 handlerMethod Detail |
---|
public java.lang.String getName()
public java.util.List getMethods()
public MethodMetadata getMethodByName(java.lang.String name)
name
- : method name
public boolean isAggregate()
public boolean isOptional()
public boolean isInterface()
public void setIsOptional(boolean optional)
public java.lang.String getComponentType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |