org.beanlet
Annotation Type Proxy


@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface Proxy

Specifies interfaces to be exposed by beanlet.

XML Representation

The following xml-fragment shows how to express this annotation in xml.
<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">
    <proxy type="java.lang.Runnable"/>
  </beanlet>
</beanlets>

Or alternatively:

<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">
    <proxy>
      <interface type="java.lang.Runnable"/>
      <interface type="java.util.concurrent.Callable"/>
    </proxy>
  </beanlet>
</beanlets>


Optional Element Summary
 Class<?>[] value
          Array of interfaces to be exposed by beanlet.
 

value

public abstract Class<?>[] value
Array of interfaces to be exposed by beanlet.

Default:
{}


Copyright © 2006-2012. All Rights Reserved.