org.tango.server.annotation
Annotation Type Init


@Target(value=METHOD)
@Retention(value=RUNTIME)
public @interface Init

Designates a method to receive a callback before a device has been exported.

 @Init
 public void initDevice(){...}
 

A class may not declare more than one @Init method.


Optional Element Summary
 boolean lazyLoading
          Configure the device loading to be in a seperate task so that the device is immediatly exported.
 

lazyLoading

public abstract boolean lazyLoading
Configure the device loading to be in a seperate task so that the device is immediatly exported. Default is false.

Returns:
the lazy loading
Default:
false


Copyright © 2012-2016. All Rights Reserved.