org.beanlet
Annotation Type IgnoreDependency


@Retention(value=RUNTIME)
@Target(value={CONSTRUCTOR,METHOD,FIELD})
public @interface IgnoreDependency

Used to ignore the dependencies of the element that is subject to injection.

XML Representation

The following xml-fragment shows how to express this annotation in xml. The italic attribute of the 'ignore-dependency' tag is used to identify the element to which this annotation is applied.
<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">
    <ignore-dependency field="bar"/>
  </beanlet>
</beanlets>



Copyright © 2006-2012. All Rights Reserved.