[
http://www.stripesframework.org/jira/browse/STS-165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ben Gunter closed STS-165.
--------------------------
> Interceptor initialization
> --------------------------
>
> Key: STS-165
> URL: http://www.stripesframework.org/jira/browse/STS-165
> Project: Stripes
> Issue Type: Improvement
> Components: ActionBean Dispatching
> Affects Versions: Release 1.3
> Reporter: Sebastian Beigel
> Assignee: Tim Fennell
> Fix For: Release 1.3
>
>
> Interceptors should be able to get initialized via the Stripes standard
> ConfigurableComponent#void init(Configuration configuration) throws
> Exception; method during start-up.
> Therefore interceptors can implement the interface ConfigurableComponent.
> Their init(Configuration) methods are called after instantiation in
> RuntimeConfiguration#initInterceptors() via something like this:
> ...
> Interceptor interceptor = type.newInstance();
> if (interceptor instanceof ConfigurableComponent) {
> ((ConfigurableComponent) interceptor).init(this);
> }
> ...
> It is not mandatory for interceptors to implement ConfigurableComponent!
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and,
should the need arise, upgrade to a full multi-node Oracle RAC database
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development