org.apache.felix.ipojo.annotations
Annotation Type Bind


@Target(value=METHOD)
public @interface Bind

This annotation declares a bind method.

Author:
Felix Project Team

Optional Element Summary
 boolean aggregate
          Set if the dependency is an aggregate dependency.
 java.lang.String filter
          Set the dependency filter.
 java.lang.String id
          Set the dependency id.
 boolean optional
          Set if the dependency is optional.
 java.lang.String policy
          Set the binding policy.
 java.lang.String specification
          Set the required specification.
 

filter

public abstract java.lang.String filter
Set the dependency filter. Default : no filter

Default:
""

aggregate

public abstract boolean aggregate
Set if the dependency is an aggregate dependency. Default : false

Default:
false

optional

public abstract boolean optional
Set if the dependency is optional. Default : false

Default:
false

specification

public abstract java.lang.String specification
Set the required specification. Default : empty (try to discover)

Default:
""

id

public abstract java.lang.String id
Set the dependency id. Default : empty

Default:
""

policy

public abstract java.lang.String policy
Set the binding policy. Acceptable policy are dynamic, static and dynamic-priority. Default: dynamic.

Default:
"dynamic"