aicas logo Jamaica 3.4 release 8

sun.misc
Class SharedSecrets

java.lang.Object
  extended by sun.misc.SharedSecrets

public class SharedSecrets
extends 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.


Constructor Summary
SharedSecrets()
           
 
Method Summary
static JavaLangAccess getJavaLangAccess()
           
static void setJavaLangAccess(JavaLangAccess jla)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SharedSecrets

public SharedSecrets()
Method Detail

setJavaLangAccess

public static void setJavaLangAccess(JavaLangAccess jla)

getJavaLangAccess

public static JavaLangAccess getJavaLangAccess()

aicas logo Jamaica 3.4 release 8

aicas GmbH, Karlsruhe - Germany    www.aicas.com
Copyright 2001-2009 aicas GmbH. All Rights Reserved.