The Java subproject consists of just one class: javaURLContextFactory which provides a URL context factory for the "java:" URL scheme. The initial context factory method checks to see if the current thread or classloader is bound (see ContextBindings) and if so, returns a SelectorContext; otherwise a NamingContext is created.