| public class java.security SecureClassLoader
|
Java SE 6 |
| version | 1.86, 11/17/05 |
| Constructors | |||||||
|---|---|---|---|---|---|---|---|
| protected | SecureClassLoader(ClassLoader parent) Details
Creates a new SecureClassLoader using the specified parent
class loader for delegation.
If there is a security manager, this method first
calls the security manager's
| ||||||
| protected | SecureClassLoader() Details
Creates a new SecureClassLoader using the default parent class
loader for delegation.
If there is a security manager, this method first
calls the security manager's
| ||||||
| Methods | |||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| final protected Class | defineClass(String name, byte[] b, int off, int len, CodeSource cs) Details
Converts an array of bytes into an instance of class Class,
with an optional CodeSource. Before the
class can be used it must be resolved.
If a non-null CodeSource is supplied a ProtectionDomain is constructed and associated with the class being defined.
| ||||||||||||||||||
| final protected Class | defineClass(String name, java.nio.ByteBuffer b, CodeSource cs) Details
Converts a ByteBuffer
into an instance of class Class, with an optional CodeSource.
Before the class can be used it must be resolved.
If a non-null CodeSource is supplied a ProtectionDomain is constructed and associated with the class being defined.
| ||||||||||||||||||
| Properties | |||||
|---|---|---|---|---|---|
| protected PermissionCollection | getPermissions(CodeSource codesource) Details
Returns the permissions for the given CodeSource object.
This method is invoked by the defineClass method which takes a CodeSource as an argument when it is constructing the ProtectionDomain for the class being defined.
| ||||
| About DocWeb · Bundles · Export · Export All | Top 10 · Statistics · Login |
| About Sun · Contact · Privacy · Terms of Use · Trademarks | Java SE 6 · Copyright © 1994-2009 Sun Microsystems, Inc.All rights reserved. Use is subject to license terms |
![]() |
![]() |
|