KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > test > compliance > notcompliant > NoConstructor


1 /*
2  * JBoss, the OpenSource J2EE webOS
3  *
4  * Distributable under LGPL license.
5  * See terms of license at gnu.org.
6  */

7
8 package test.compliance.notcompliant;
9
10 public class NoConstructor
11    implements NoConstructorMBean
12 {
13    private NoConstructor()
14    {
15    }
16
17    public static NoConstructor getInstance()
18    {
19       return new NoConstructor();
20    }
21 }
22
Popular Tags