|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.felix.scr.impl.metadata.ReferenceMetadata
public class ReferenceMetadata
Information associated to a dependency
Field Summary | |
---|---|
static String |
CARDINALITY_0_1
|
static String |
CARDINALITY_0_N
|
static String |
CARDINALITY_1_1
|
static String |
CARDINALITY_1_N
|
static String |
POLICY_DYNAMIC
|
static String |
POLICY_STATIC
|
Constructor Summary | |
---|---|
ReferenceMetadata()
|
Method Summary | |
---|---|
String |
getBind()
Get the name of a method in the component implementation class that is used to notify that a service is bound to the component configuration |
String |
getCardinality()
Get the cardinality as a string |
String |
getInterface()
Returns the fully qualified name of the class that is used by the component to access the service |
String |
getName()
Returns the name of the reference |
String |
getPolicy()
Get the policy as a string |
String |
getTarget()
Returns the filter expression that further constrains the set of target services |
String |
getTargetPropertyName()
Returns the name of the component property referring to the target
property of this reference. |
String |
getUnbind()
Get the name of a method in the component implementation class that is used to notify that a service is unbound from the component configuration |
String |
getUpdated()
Get the name of a method in the component implementation class that is used to notify that the service properties of a bound service have been updated |
boolean |
isMultiple()
Test if dependency is multiple (0..n or 1..n) |
boolean |
isOptional()
Test if dependency is optional (0..1 or 0..n) |
boolean |
isStatic()
Test if dependency's binding policy is static |
void |
setBind(String bind)
Setter for the bind method attribute |
void |
setCardinality(String cardinality)
Setter for the cardinality attribute |
void |
setInterface(String interfaceName)
Setter for the interfaceName attribute |
void |
setName(String name)
Setter for the name attribute |
void |
setPolicy(String policy)
Setter for the policy attribute |
void |
setTarget(String target)
Setter for the target attribute (filter) |
void |
setUnbind(String unbind)
Setter for the unbind method attribute |
void |
setUpdated(String updated)
Setter for the updated method attribute |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String CARDINALITY_0_1
public static final String CARDINALITY_0_N
public static final String CARDINALITY_1_1
public static final String CARDINALITY_1_N
public static final String POLICY_STATIC
public static final String POLICY_DYNAMIC
Constructor Detail |
---|
public ReferenceMetadata()
Method Detail |
---|
public void setName(String name)
name
- public void setInterface(String interfaceName)
interfaceName
- public void setCardinality(String cardinality)
cardinality
- public void setPolicy(String policy)
policy
- public void setTarget(String target)
target
- public void setBind(String bind)
bind
- public void setUpdated(String updated)
updated
- public void setUnbind(String unbind)
unbind
- public String getName()
public String getInterface()
public String getCardinality()
public String getPolicy()
public String getTarget()
public String getBind()
public String getUpdated()
public String getUnbind()
public boolean isStatic()
public boolean isOptional()
public boolean isMultiple()
public String getTargetPropertyName()
target
property of this reference.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |