hivemind-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Jakarta-hivemind Wiki] Trivial Update of "AnnotationSupport" by AchimHuegen
Date Thu, 02 Nov 2006 08:30:24 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Jakarta-hivemind Wiki" for change
notification.

The following page has been changed by AchimHuegen:
http://wiki.apache.org/jakarta-hivemind/AnnotationSupport

------------------------------------------------------------------------------
  }}}
  
  Add an interceptor:
+ ... to be specified
- {{{  
- public class ExampleModule
- {
-   public TranslatorManager getTranslatorManager()
-   {
-     TranslatorManager manager = new TranslatorManagerImpl();
-     manager = addInterceptor(manager, "hivemind.LogInterceptor", configParam1, configParam2,
....);
-     return manager;
-   }
- }
- }}}
  
  = Details =
  
- The methods ''service'', ''configuration'', ''autowireConstruction'', ''addInterceptor''
etc. could either be statically 
+ The methods ''service'', ''configuration'', ''autowireConstruction'', ''addInterceptor''
etc. could be inherited from an ancestor.
- imported or they could be inherited from an ancestor.
  They make use of java 5 generics get rid of casting.
  
  == Convention over configuration ==

Mime
View raw message