Home » openjdk-7 » com.sun.naming » internal » [javadoc | source]
abstract public class: VersionHelper [javadoc | source]

Direct Known Subclasses:

VersionHelper was used by JNDI to accommodate differences between JDK 1.1.x and the Java 2 platform. As this is no longer necessary since JNDI's inclusion in the platform, this class currently serves as a set of utilities for performing system-level things, such as class-loading and reading system properties.
Field Summary
static final  String[] PROPS     
public static final  int INITIAL_CONTEXT_FACTORY     
public static final  int OBJECT_FACTORIES     
public static final  int URL_PKG_PREFIXES     
public static final  int STATE_FACTORIES     
public static final  int PROVIDER_URL     
public static final  int DNS_URL     
public static final  int CONTROL_FACTORIES     
Method from com.sun.naming.internal.VersionHelper Summary:
getContextClassLoader,   getJavaHomeLibStream,   getJndiProperties,   getJndiProperty,   getResourceAsStream,   getResources,   getUrlArray,   getVersionHelper,   loadClass,   loadClass,   loadClass
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.sun.naming.internal.VersionHelper Detail:
 abstract ClassLoader getContextClassLoader()
 abstract InputStream getJavaHomeLibStream(String filename)
 abstract String[] getJndiProperties()
 abstract String getJndiProperty(int i)
 abstract InputStream getResourceAsStream(Class c,
    String name)
 abstract NamingEnumeration getResources(ClassLoader cl,
    String name) throws IOException
 protected static URL[] getUrlArray(String codebase) throws MalformedURLException 
 public static VersionHelper getVersionHelper() 
 abstract public Class loadClass(String className) throws ClassNotFoundException
 abstract Class loadClass(String className,
    ClassLoader cl) throws ClassNotFoundException
 abstract public Class loadClass(String className,
    String codebase) throws ClassNotFoundException, MalformedURLException