org.glassfish.appclient.client.acc.agent
Class ACCAgentClassLoader

java.lang.Object
  extended by java.lang.ClassLoader
      extended by java.security.SecureClassLoader
          extended by java.net.URLClassLoader
              extended by org.glassfish.appclient.client.acc.agent.ACCAgentClassLoader

public class ACCAgentClassLoader
extends java.net.URLClassLoader

Used as the system class loader during app client launch.

The main role of this class loader is to find a splash screen image that might be specified in the manifest of the app client. Once the ACC begins working it will create an ACCClassLoader for loading client classes and locating client resources.

Author:
tjquinn

Constructor Summary
ACCAgentClassLoader(java.lang.ClassLoader parent)
           
ACCAgentClassLoader(java.net.URL[] urls)
           
ACCAgentClassLoader(java.net.URL[] urls, java.lang.ClassLoader parent)
           
ACCAgentClassLoader(java.net.URL[] urls, java.lang.ClassLoader parent, java.net.URLStreamHandlerFactory factory)
           
 
Method Summary
 java.net.URL getResource(java.lang.String name)
           
 java.util.Enumeration<java.net.URL> getResources(java.lang.String name)
           
 java.lang.Class<?> loadClass(java.lang.String name)
           
 
Methods inherited from class java.net.URLClassLoader
addURL, definePackage, findClass, findResource, findResources, getPermissions, getURLs, newInstance, newInstance
 
Methods inherited from class java.security.SecureClassLoader
defineClass, defineClass
 
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findSystemClass, getPackage, getPackages, getParent, getResourceAsStream, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ACCAgentClassLoader

public ACCAgentClassLoader(java.lang.ClassLoader parent)

ACCAgentClassLoader

public ACCAgentClassLoader(java.net.URL[] urls)

ACCAgentClassLoader

public ACCAgentClassLoader(java.net.URL[] urls,
                           java.lang.ClassLoader parent)

ACCAgentClassLoader

public ACCAgentClassLoader(java.net.URL[] urls,
                           java.lang.ClassLoader parent,
                           java.net.URLStreamHandlerFactory factory)
Method Detail

loadClass

public java.lang.Class<?> loadClass(java.lang.String name)
                             throws java.lang.ClassNotFoundException
Overrides:
loadClass in class java.lang.ClassLoader
Throws:
java.lang.ClassNotFoundException

getResource

public java.net.URL getResource(java.lang.String name)
Overrides:
getResource in class java.lang.ClassLoader

getResources

public java.util.Enumeration<java.net.URL> getResources(java.lang.String name)
                                                 throws java.io.IOException
Overrides:
getResources in class java.lang.ClassLoader
Throws:
java.io.IOException


Copyright © 2012 GlassFish Community. All Rights Reserved.