org.beanlet
Annotation Type Start


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

The Start annotation is used on a method that needs to be called after initialization of a beanlet. Such methods are so-called start methods.

Method Constraints

The method on which the Start annotation is applied MUST fulfill all of the following criteria:

XML Representation

The following xml-fragment shows how to express this annotation in xml. The italic attribute of the 'start' tag is used to identify the element to which this annotation is applied. The other attribute can be specified optionally if the annotation specifies a default value for the particular annotation method.
<beanlets xmlns="http://beanlet.org/schema/beanlet"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://beanlet.org/schema/beanlet http://beanlet.org/schema/beanlet/beanlet_1_0.xsd">
  <beanlet name="foo" type="com.acme.Foo">
    <start method="bar" description=""/>
  </beanlet>
</beanlets>


Optional Element Summary
 String description
          Description of the underlying start method.
 

description

public abstract String description
Description of the underlying start method.

Default:
""


Copyright © 2006-2012. All Rights Reserved.