Additional top-level class in compilation unit: ClassLoaderLock.
| Modifier and Type | Field and Description |
|---|---|
| private final ShExLockable | |
| private final CompatibilitySpace | |
| private boolean | |
| private JarLoader[] | |
| private JarReader | |
| private final LockFactory | |
| private final ClassLoader | |
| private boolean | |
| private boolean | |
| private DatabaseClasses | |
| private static final String[] | RESTRICTED_PACKAGES
List of packages that Derby will not support being loaded from an installed jar file. |
| private String | |
| private int | |
| private HeaderPrintWriter |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv Class | |
| pack-priv void | |
| pack-priv int | |
| private String | |
| private static Context | getContextOrNull(final String contextID)
Must be private so that user code can't call this entry point. |
| pack-priv JarReader | |
| pack-priv InputStream | |
| private static Object | getServiceModule(final Object serviceModule, final String factoryInterface)
Must be private so that user code can't call this entry point. |
| private void | |
| private void | |
| public boolean | isNestedOwner()
Implements org. Return true if this is a nested owner, e.g., a nested user transaction. |
| pack-priv Class | |
| private boolean | |
| pack-priv synchronized void | |
| pack-priv synchronized void | |
| pack-priv synchronized void | |
| public boolean | nestsUnder(LockOwner
The other lock owner other)Implements org. Return true if this owner nests under another owner. |
| public boolean | Returns: falseImplements org. Tell the lock manager that we don't want timed waits to time out immediately. |
| private void |
| classLoaderLock | back to summary |
|---|---|
| private final ShExLockable classLoaderLock | |
| compat | back to summary |
|---|---|
| private final CompatibilitySpace compat | |
| initDone | back to summary |
|---|---|
| private boolean initDone | |
| jarList | back to summary |
|---|---|
| private JarLoader[] jarList | |
| jarReader | back to summary |
|---|---|
| private JarReader jarReader | |
| lf | back to summary |
|---|---|
| private final LockFactory lf | |
| myLoader | back to summary |
|---|---|
| private final ClassLoader myLoader | |
| needReload | back to summary |
|---|---|
| private boolean needReload | |
| normalizeToUpper | back to summary |
|---|---|
| private boolean normalizeToUpper | |
| parent | back to summary |
|---|---|
| private DatabaseClasses parent | |
| RESTRICTED_PACKAGES | back to summary |
|---|---|
| private static final String[] RESTRICTED_PACKAGES List of packages that Derby will not support being loaded from an installed jar file. | |
| thisClasspath | back to summary |
|---|---|
| private String thisClasspath | |
| version | back to summary |
|---|---|
| private int version | |
| vs | back to summary |
|---|---|
| private HeaderPrintWriter vs | |
| UpdateLoader | back to summary |
|---|---|
| pack-priv UpdateLoader(String classpath, DatabaseClasses parent, boolean verbose, boolean normalizeToUpper) throws StandardException | |
| checkLoaded | back to summary |
|---|---|
| pack-priv Class | |
| close | back to summary |
|---|---|
| pack-priv void close() | |
| getClassLoaderVersion | back to summary |
|---|---|
| pack-priv int getClassLoaderVersion() | |
| getClasspath | back to summary |
|---|---|
| private String getClasspath() throws StandardException | |
| getContextOrNull | back to summary |
|---|---|
| private static Context getContextOrNull(final String contextID) Must be private so that user code can't call this entry point. | |
| getJarReader | back to summary |
|---|---|
| pack-priv JarReader getJarReader() | |
| getResourceAsStream | back to summary |
|---|---|
| pack-priv InputStream getResourceAsStream(String name) | |
| getServiceModule | back to summary |
|---|---|
| private static Object getServiceModule(final Object serviceModule, final String factoryInterface) Must be private so that user code can't call this entry point. | |
| initializeFromClassPath | back to summary |
|---|---|
| private void initializeFromClassPath(String classpath) throws StandardException | |
| initLoaders | back to summary |
|---|---|
| private void initLoaders() | |
| isNestedOwner | back to summary |
|---|---|
| public boolean isNestedOwner() Implements org. Doc from org. Return true if this is a nested owner, e.g., a nested user transaction.
| |
| loadClass | back to summary |
|---|---|
| pack-priv Class Load the class from the class path. Called by JarLoader when it has a request to load a class to fulfill the sematics of derby.database.classpath. Enforces two restrictions:
| |
| lockClassLoader | back to summary |
|---|---|
| private boolean lockClassLoader(ShExQual qualifier) throws StandardException | |
| modifyClasspath | back to summary |
|---|---|
| pack-priv synchronized void modifyClasspath(String classpath) throws StandardException | |
| modifyJar | back to summary |
|---|---|
| pack-priv synchronized void modifyJar(boolean reload) throws StandardException | |
| needReload | back to summary |
|---|---|
| pack-priv synchronized void needReload() | |
| nestsUnder | back to summary |
|---|---|
| public boolean nestsUnder(LockOwner other) Implements org. Doc from org. Return true if this owner nests under another owner.
| |
| noWait | back to summary |
|---|---|
| public boolean noWait() Implements org. Tell the lock manager that we don't want timed waits to time out immediately.
| |
| reload | back to summary |
|---|---|
| private void reload() throws StandardException | |