Annotation Type Request

public @interface Request

Request beanlets do not provide direct access to the underlying objects. Instead, clients obtain a stub that delegates invocations to the underlying instance. In case of request beanlets, the stub creates a new instance per HTTP request. This instance is always assigned while performing that particular HTTP request.

XML Representation

The following xml-fragment shows how to express this annotation in xml. The 'request' tag does not specify any element attribute, which means that this tag is applied to the beanlet's class.
<beanlets xmlns=""
  <beanlet name="foo" type="com.acme.Foo">

See Also:

Copyright © 2006-2012. All Rights Reserved.