Microsoft SDK for Java

setPackageManagerNamespace

This method of the SecurityClassLoader Class sets the package manager namespace associated with the loader.

Syntax

protected void setPackageManagerNamespace(String namespace);

Parameters

namespace The name of the package manager namespace to associate with the loader.

Remarks

All package management class and resource loads done by this loader will look in this explicitly-named namespace in addition to the default global package manager namespace.

Exceptions

SecurityException if the loader already has an associated package manager namespace.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.