StarOffice 5.2 API
reverse engineered by classdoc

com.sun.star.lib.sandbox
Class ClassContextImpl

java.lang.Object
  |
  +--java.lang.ClassLoader
        |
        +--com.sun.star.lib.sandbox.ClassContextImpl
All Implemented Interfaces:
com.sun.star.lib.sandbox.ClassContext

final synchronized class ClassContextImpl
extends java.lang.ClassLoader
implements com.sun.star.lib.sandbox.ClassContext


Field Summary
private static boolean DEBUG
           
private  boolean _bSecure
           
private  java.net.URL codeBase
           
private static int instances
           
private  com.sun.star.lib.sandbox.ProtectionDomain protectionDomain
           
private  java.lang.ThreadGroup threadGroup
           
 
Fields inherited from class java.lang.ClassLoader
classes, initialized
 
Constructor Summary
ClassContextImpl(java.net.URL url, com.sun.star.lib.sandbox.ProtectionDomain pd, java.lang.ThreadGroup tg)
           
ClassContextImpl(java.net.URL url, com.sun.star.lib.sandbox.ProtectionDomain pd, java.lang.ThreadGroup tg, boolean b)
           
 
Method Summary
(package private)  boolean checkSecurity()
           
 void dispose()
           
 void finalize()
           
 java.lang.Class findClass(java.lang.String s)
           
 java.net.URL getBase()
           
 java.lang.ClassLoader getClassLoader()
           
 java.net.URL getResource(java.lang.String s)
           
 java.io.InputStream getResourceAsStream(java.lang.String s)
           
 java.lang.ThreadGroup getThreadGroup()
           
 boolean hasThreadGroup()
           
 java.lang.Class loadClass(java.lang.String s)
           
protected  java.lang.Class loadClass(java.lang.String s, boolean b)
           
private  void printHeader(byte[] b)
           
 
Methods inherited from class java.lang.ClassLoader
check, defineClass, defineClass, defineClass0, findLoadedClass, findSystemClass, findSystemClass0, getSystemResource, getSystemResourceAsName0, getSystemResourceAsStream, getSystemResourceAsStream0, init, loadClassInternal, resolveClass, resolveClass0, setSigners
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEBUG

private static final boolean DEBUG

_bSecure

private boolean _bSecure

codeBase

private java.net.URL codeBase

instances

private static int instances

protectionDomain

private com.sun.star.lib.sandbox.ProtectionDomain protectionDomain

threadGroup

private java.lang.ThreadGroup threadGroup
Constructor Detail

ClassContextImpl

public ClassContextImpl(java.net.URL url,
                        com.sun.star.lib.sandbox.ProtectionDomain pd,
                        java.lang.ThreadGroup tg)

ClassContextImpl

public ClassContextImpl(java.net.URL url,
                        com.sun.star.lib.sandbox.ProtectionDomain pd,
                        java.lang.ThreadGroup tg,
                        boolean b)
Method Detail

checkSecurity

boolean checkSecurity()

dispose

public void dispose()
Specified by:
dispose in interface com.sun.star.lib.sandbox.ClassContext

finalize

public void finalize()

findClass

public java.lang.Class findClass(java.lang.String s)
                          throws java.lang.ClassNotFoundException
Specified by:
findClass in interface com.sun.star.lib.sandbox.ClassContext

getBase

public java.net.URL getBase()
Specified by:
getBase in interface com.sun.star.lib.sandbox.ClassContext

getClassLoader

public java.lang.ClassLoader getClassLoader()
Specified by:
getClassLoader in interface com.sun.star.lib.sandbox.ClassContext

getResource

public java.net.URL getResource(java.lang.String s)
Specified by:
getResource in interface com.sun.star.lib.sandbox.ClassContext

getResourceAsStream

public java.io.InputStream getResourceAsStream(java.lang.String s)
Specified by:
getResourceAsStream in interface com.sun.star.lib.sandbox.ClassContext

getThreadGroup

public java.lang.ThreadGroup getThreadGroup()
Specified by:
getThreadGroup in interface com.sun.star.lib.sandbox.ClassContext

hasThreadGroup

public boolean hasThreadGroup()
Specified by:
hasThreadGroup in interface com.sun.star.lib.sandbox.ClassContext

loadClass

public java.lang.Class loadClass(java.lang.String s)
                          throws java.lang.ClassNotFoundException
Specified by:
loadClass in interface com.sun.star.lib.sandbox.ClassContext

loadClass

protected java.lang.Class loadClass(java.lang.String s,
                                    boolean b)
                             throws java.lang.ClassNotFoundException

printHeader

private void printHeader(byte[] b)

StarOffice 5.2 API
reverse engineered by classdoc