KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > common > proxy > subpkg > Factory


1 /**
2  * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
3  */

4 package com.tc.common.proxy.subpkg;
5
6 /**
7  * A public way to get at instances of PackagePrivateClass from outside the com.tc.common.proxy.subpkg package
8  */

9 public class Factory {
10
11   public static TestInterface getInstance() {
12     return new PackagePrivateClass();
13   }
14 }
Popular Tags