org.apache.felix.ipojo.handler.temporal
Annotation Type Temporal


@Target(value={FIELD,ANNOTATION_TYPE})
public @interface Temporal

Temporal dependency annotation. Allows specifying a temporal dependency. Be aware that despite is it provided in the annotations jar, it refers to an external handler.

Author:
Felix Project Team

Optional Element Summary
 java.lang.String filter
          Set the LDAP filter of the dependency.
 java.lang.String id
          Set the dependency id.
 java.lang.String onTimeout
          Set the on timeout action.
 boolean proxy
          Inject a proxy instead of the real object.
 java.lang.String specification
          Set the service specification (for Collection fields).
 long timeout
          Timeout of the dependency.
 

id

public abstract java.lang.String id
Set the dependency id. Default: empty, will use the field name.

Default:
""

filter

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

Default:
""

timeout

public abstract long timeout
Timeout of the dependency. Default: 3000 ms.

Default:
3000L

onTimeout

public abstract java.lang.String onTimeout
Set the on timeout action. Supports null, nullable, empty, and default-implementation. In this latter case, you must specify the qualified class name of the default-implementation (instead of default-implementation). Default: no action (i.e throws a runtime exception)

Default:
""

specification

public abstract java.lang.String specification
Set the service specification (for Collection fields). This attribute is mandatory for Collections.

Default:
""

proxy

public abstract boolean proxy
Inject a proxy instead of the real object. This allows passing this reference to collaborators. Default: false

Default:
false


Copyright © 2006-2013 The Apache Software Foundation. All Rights Reserved.