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


@Target(value=FIELD)
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
 String filter
          Set the LDAP filter of the dependency.
 String onTimeout
          Set the on timeout action.
 boolean proxy
          Inject a proxy instead of the real object.
 String specification
          Set the service specification (for Collection fields).
 long timeout
          Timeout of the dependency.
 

filter

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

Default:
""

timeout

public abstract long timeout
Timeout of the dependency. Default : true

Default:
3000L

onTimeout

public abstract 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 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-2012 Apache Software Foundation. All Rights Reserved.