@Retention(value=RUNTIME) @Target(value=METHOD) public @interface InitMethod
public void <methodName>(PortletConfig) throws PortletException
where the method name can be freely selected.
the init
method is called by the portlet container to
initialize the portlet when it is
being placed into service.
The portlet container calls the init
method exactly once after instantiating the portlet.
The init
method must complete successfully
before the portlet can receive any requests.
The portlet container cannot place the portlet into service
if the init
method
PortletException
Portlet.init(javax.portlet.PortletConfig)
public abstract String value
Java Portlet 3.0 API Specification. See the Copyright and License provided with this distribution. Use is subject to license terms.