Package com.sun.corba.ee.impl.io
Class SharedSecrets
- java.lang.Object
-
- com.sun.corba.ee.impl.io.SharedSecrets
-
public class SharedSecrets extends java.lang.Object
A repository of "shared secrets", which are a mechanism for calling implementation-private methods in another package without using reflection. A package-private class implements a public interface and provides the ability to call package-private methods within that package; the object implementing that interface is provided through a third package to which access is restricted. This framework avoids the primary disadvantage of using reflection for this purpose, namely the loss of compile-time checking.
-
-
Field Summary
Fields Modifier and Type Field Description private static JavaCorbaAccess
javaCorbaAccess
-
Constructor Summary
Constructors Constructor Description SharedSecrets()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static JavaCorbaAccess
getJavaCorbaAccess()
static void
setJavaCorbaAccess(JavaCorbaAccess access)
-
-
-
Field Detail
-
javaCorbaAccess
private static JavaCorbaAccess javaCorbaAccess
-
-
Method Detail
-
getJavaCorbaAccess
public static JavaCorbaAccess getJavaCorbaAccess()
-
setJavaCorbaAccess
public static void setJavaCorbaAccess(JavaCorbaAccess access)
-
-