KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > test > staticinitialization > ClinitTarget


1 /**************************************************************************************
2  * Copyright (c) Jonas BonŽr, Alexandre Vasseur. All rights reserved. *
3  * http://aspectwerkz.codehaus.org *
4  * ---------------------------------------------------------------------------------- *
5  * The software in this package is published under the terms of the LGPL license *
6  * a copy of which has been included with this distribution in the license.txt file. *
7  **************************************************************************************/

8 package test.staticinitialization;
9
10
11 /**
12  * Target for staticinitialization pointcuts.
13  *
14  * @author <a HREF="mailto:the_mindstorm@evolva.ro">Alex Popescu</a>
15  *
16  * @StaticInitializationService
17  */

18 public class ClinitTarget {
19     static {
20         StaticInitializationTest.s_messages.add(StaticInitializationTest.CLINIT_EXECUTION_MESSAGE);
21     }
22     
23     public static interface IServiceAnnotation {
24         String JavaDoc value();
25     }
26 }
27
Popular Tags