org.apache.aries.blueprint.annotation
Annotation Type Reference


@Target(value=FIELD)
@Retention(value=RUNTIME)
public @interface Reference


Optional Element Summary
 java.lang.String availability
          whether or not a matching service is required at all times.
 java.lang.String componentName
          the component-name attribute of the service reference.
 java.lang.String description
          the description property of the service reference
 java.lang.String filter
          the filter expression that a matching service must match.
 java.lang.String id
          the id for the reference
 ReferenceListener[] referenceListeners
          the reference listeners for the service reference, to receive bind and unbind events.
 java.lang.Class<?> serviceInterface
          the interface type that a matching service must support.
 int timeout
          the timeout property.
 

description

public abstract java.lang.String description
the description property of the service reference

Default:
""

serviceInterface

public abstract java.lang.Class<?> serviceInterface
the interface type that a matching service must support.

Default:
java.lang.Object.class

filter

public abstract java.lang.String filter
the filter expression that a matching service must match.

Default:
""

componentName

public abstract java.lang.String componentName
the component-name attribute of the service reference.

Default:
""

availability

public abstract java.lang.String availability
whether or not a matching service is required at all times. either optional or mandatory.

Default:
""

referenceListeners

public abstract ReferenceListener[] referenceListeners
the reference listeners for the service reference, to receive bind and unbind events.

Default:
{}

timeout

public abstract int timeout
the timeout property. If the timeout is not specified, the default-timeout value is inherited from the encapsulating definition.

Default:
0

id

public abstract java.lang.String id
the id for the reference

Default:
""


Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.