com.ibm.broker.connector

Class ConnectorClassLoader

  • java.lang.Object
    • java.lang.ClassLoader
      • java.security.SecureClassLoader
        • java.net.URLClassLoader
          • com.ibm.broker.classloading.JavaResourceClassLoader
            • com.ibm.broker.classloading.ReverseDelegationClassLoader
              • com.ibm.broker.connector.ConnectorClassLoader
  • All Implemented Interfaces:
    com.ibm.broker.classloading.JavaResourceUpdateListener, java.io.Closeable, java.lang.AutoCloseable


    public class ConnectorClassLoader
    extends com.ibm.broker.classloading.ReverseDelegationClassLoader
    ConnectorClassLoader builds a classloader out of the url paths provided in the constructor, the shared-classes folders, and the broker /classes folder, searched in that order. We can't use the SharedClassLoader as a base since that delegates to the BrokerClassLoader first, whereas we want the various shared-classes searched first. For this reason, we add the given paths first, then add the SharedClassLoader urls explicitly, with the BrokerClassLoader as the parent.
    • Constructor Summary

      Constructors 
      Constructor and Description
      ConnectorClassLoader(java.lang.String pathString) 
    • Method Summary

      • Methods inherited from class com.ibm.broker.classloading.ReverseDelegationClassLoader

        findResource, findResources, getResource, getResourceAsStream, getResources, setDelegate
      • Methods inherited from class com.ibm.broker.classloading.JavaResourceClassLoader

        addJarLocations, addJavaResourceUpdateListener, clearSpiedClassLoads, close, disableSpying, enableSpying, getAllMessageFlowHandles, getListeners, getMessageBundle, getMessageFlowHandles, javaResourceUpdated, loadClass, preloadClasses, refreshURLs, removeJavaResourceUpdateListener, setListeners, spyLoadedClasses
      • Methods inherited from class java.net.URLClassLoader

        getURLs, newInstance, newInstance
      • Methods inherited from class java.lang.ClassLoader

        clearAssertionStatus, getParent, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ConnectorClassLoader

        public ConnectorClassLoader(java.lang.String pathString)
                             throws java.net.MalformedURLException
        Throws:
        java.net.MalformedURLException
IBM Integration BusTM
JavaTM Connector API