Save This Page
Home » openjdk-7 » sun » misc » [javadoc | source]
sun.misc
public class: SharedSecrets [javadoc | source]
java.lang.Object
   sun.misc.SharedSecrets
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.
Method from sun.misc.SharedSecrets Summary:
getJavaIOAccess,   getJavaIOFileDescriptorAccess,   getJavaLangAccess,   getJavaNetAccess,   getJavaNioAccess,   getJavaSecurityAccess,   getJavaSecurityProtectionDomainAccess,   getJavaxSecurityAuthKerberosAccess,   javaUtilJarAccess,   setJavaIOAccess,   setJavaIOFileDescriptorAccess,   setJavaLangAccess,   setJavaNetAccess,   setJavaNioAccess,   setJavaSecurityAccess,   setJavaSecurityProtectionDomainAccess,   setJavaUtilJarAccess,   setJavaxSecurityAuthKerberosAccess
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from sun.misc.SharedSecrets Detail:
 public static JavaIOAccess getJavaIOAccess() 
 public static JavaIOFileDescriptorAccess getJavaIOFileDescriptorAccess() 
 public static JavaLangAccess getJavaLangAccess() 
 public static JavaNetAccess getJavaNetAccess() 
 public static JavaNioAccess getJavaNioAccess() 
 public static JavaSecurityAccess getJavaSecurityAccess() 
 public static JavaSecurityProtectionDomainAccess getJavaSecurityProtectionDomainAccess() 
 public static JavaxSecurityAuthKerberosAccess getJavaxSecurityAuthKerberosAccess() 
 public static JavaUtilJarAccess javaUtilJarAccess() 
 public static  void setJavaIOAccess(JavaIOAccess jia) 
 public static  void setJavaIOFileDescriptorAccess(JavaIOFileDescriptorAccess jiofda) 
 public static  void setJavaLangAccess(JavaLangAccess jla) 
 public static  void setJavaNetAccess(JavaNetAccess jna) 
 public static  void setJavaNioAccess(JavaNioAccess jna) 
 public static  void setJavaSecurityAccess(JavaSecurityAccess jsa) 
 public static  void setJavaSecurityProtectionDomainAccess(JavaSecurityProtectionDomainAccess jspda) 
 public static  void setJavaUtilJarAccess(JavaUtilJarAccess access) 
 public static  void setJavaxSecurityAuthKerberosAccess(JavaxSecurityAuthKerberosAccess jsaka)