Package | Description |
---|---|
java.awt.datatransfer |
Provides interfaces and classes for transferring data
between and within applications.
|
java.beans |
Contains classes related to developing
beans -- components
based on the JavaBeans™ architecture.
|
java.beans.beancontext |
Provides classes and interfaces relating to bean context.
|
java.io |
Provides for system input and output through data streams,
serialization and the file system.
|
java.lang |
Provides classes that are fundamental to the design of the Java
programming language.
|
java.lang.instrument |
Provides services that allow Java programming language agents to instrument programs running on the JVM.
|
java.net |
Provides the classes for implementing networking applications.
|
java.rmi |
Provides the RMI package.
|
java.rmi.server |
Provides classes and interfaces for supporting the server
side of RMI.
|
java.security |
Provides the classes and interfaces for the security framework.
|
javax.activation | |
javax.crypto |
Provides the classes and interfaces for cryptographic operations.
|
javax.management |
Provides the core classes for the Java Management Extensions.
|
javax.management.loading |
Provides the classes which implement advanced dynamic
loading.
|
javax.management.relation |
Provides the definition of the Relation Service.
|
javax.rmi.CORBA |
Contains portability APIs for RMI-IIOP.
|
javax.swing |
Provides a set of "lightweight"
(all-Java language) components that,
to the maximum degree possible, work the same on all platforms.
|
javax.swing.text |
Provides classes and interfaces that deal with editable
and noneditable text components.
|
org.w3c.dom.bootstrap | |
org.xml.sax.helpers |
This package contains "helper" classes, including
support for bootstrapping SAX-based applications.
|
Modifier and Type | Method and Description |
---|---|
static DataFlavor |
SystemFlavorMap.decodeDataFlavor(String nat)
Decodes a
String native for use as a
DataFlavor . |
void |
DataFlavor.readExternal(ObjectInput is)
Restores this
DataFlavor from a Serialized state. |
protected static Class<?> |
DataFlavor.tryToLoadClass(String className,
ClassLoader fallback)
Tries to load a class from: the bootstrap loader, the system loader,
the context loader (if one is present) and finally the loader specified.
|
Constructor and Description |
---|
DataFlavor(String mimeType)
Constructs a
DataFlavor from a mimeType string. |
DataFlavor(String mimeType,
String humanPresentableName,
ClassLoader classLoader)
Constructs a
DataFlavor that represents a
MimeType . |
Modifier and Type | Method and Description |
---|---|
static Object |
Beans.instantiate(ClassLoader cls,
String beanName)
Instantiate a JavaBean.
|
static Object |
Beans.instantiate(ClassLoader cls,
String beanName,
BeanContext beanContext)
Instantiate a JavaBean.
|
static Object |
Beans.instantiate(ClassLoader cls,
String beanName,
BeanContext beanContext,
AppletInitializer initializer)
Instantiate a bean.
|
Modifier and Type | Method and Description |
---|---|
protected void |
BeanContextSupport.bcsPreDeserializationHook(ObjectInputStream ois)
called by readObject after defaultReadObject() but prior to
deserialization of any children.
|
protected void |
BeanContextServicesSupport.bcsPreDeserializationHook(ObjectInputStream ois)
called from BeanContextSupport readObject before it deserializes the
children ...
|
protected void |
BeanContextSupport.deserialize(ObjectInputStream ois,
Collection coll)
used by readObject to deserialize a collection.
|
Object |
BeanContext.instantiateChild(String beanName)
Instantiate the javaBean named as a
child of this
BeanContext . |
Object |
BeanContextSupport.instantiateChild(String beanName)
The instantiateChild method is a convenience hook
in BeanContext to simplify
the task of instantiating a Bean, nested,
into a BeanContext.
|
void |
BeanContextSupport.readChildren(ObjectInputStream ois)
When an instance of this class is used as a delegate for the
implementation of the BeanContext protocols (and its subprotocols)
there exists a 'chicken and egg' problem during deserialization
|
Modifier and Type | Method and Description |
---|---|
void |
ObjectInputStream.defaultReadObject()
Read the non-static and non-transient fields of the current class from
this stream.
|
protected ObjectStreamClass |
ObjectInputStream.readClassDescriptor()
Read a class descriptor from the serialization stream.
|
void |
Externalizable.readExternal(ObjectInput in)
The object implements the readExternal method to restore its
contents by calling the methods of DataInput for primitive
types and readObject for objects, strings and arrays.
|
ObjectInputStream.GetField |
ObjectInputStream.readFields()
Reads the persistent fields from the stream and makes them available by
name.
|
Object |
ObjectInput.readObject()
Read and return an object.
|
Object |
ObjectInputStream.readObject()
Read an object from the ObjectInputStream.
|
protected Object |
ObjectInputStream.readObjectOverride()
This method is called by trusted subclasses of ObjectOutputStream that
constructed ObjectOutputStream using the protected no-arg constructor.
|
Object |
ObjectInputStream.readUnshared()
Reads an "unshared" object from the ObjectInputStream.
|
protected Class<?> |
ObjectInputStream.resolveClass(ObjectStreamClass desc)
Load the local class equivalent of the specified stream class
description.
|
protected Class<?> |
ObjectInputStream.resolveProxyClass(String[] interfaces)
Returns a proxy class that implements the interfaces named in a proxy
class descriptor; subclasses may implement this method to read custom
data from the stream along with the descriptors for dynamic proxy
classes, allowing them to use an alternate loading mechanism for the
interfaces and the proxy class.
|
Modifier and Type | Method and Description |
---|---|
protected Class<?> |
ClassLoader.findClass(String name)
Finds the class with the specified binary name.
|
protected Class<?> |
ClassLoader.findSystemClass(String name)
Finds a class with the specified binary name,
loading it if necessary.
|
static Class<?> |
Class.forName(String className)
Returns the
Class object associated with the class or
interface with the given string name. |
static Class<?> |
Class.forName(String name,
boolean initialize,
ClassLoader loader)
Returns the
Class object associated with the class or
interface with the given string name, using the given class loader. |
Class<?> |
ClassLoader.loadClass(String name)
Loads the class with the specified binary name.
|
protected Class<?> |
ClassLoader.loadClass(String name,
boolean resolve)
Loads the class with the specified binary name.
|
Modifier and Type | Method and Description |
---|---|
void |
Instrumentation.redefineClasses(ClassDefinition... definitions)
Redefine the supplied set of classes using the supplied class files.
|
Modifier and Type | Method and Description |
---|---|
protected Class<?> |
URLClassLoader.findClass(String name)
Finds and loads the class with the specified name from the URL search
path.
|
Modifier and Type | Method and Description |
---|---|
T |
MarshalledObject.get()
Returns a new copy of the contained marshalledobject.
|
Modifier and Type | Method and Description |
---|---|
Class<?> |
LoaderHandler.loadClass(String name)
Deprecated.
no replacement
|
static Class<?> |
RMIClassLoader.loadClass(String name)
Deprecated.
replaced by
loadClass(String,String) method |
static Class<?> |
RMIClassLoader.loadClass(String codebase,
String name)
Loads a class from a codebase URL path.
|
static Class<?> |
RMIClassLoader.loadClass(String codebase,
String name,
ClassLoader defaultLoader)
Loads a class from a codebase URL path, optionally using the
supplied loader.
|
abstract Class<?> |
RMIClassLoaderSpi.loadClass(String codebase,
String name,
ClassLoader defaultLoader)
Provides the implementation for
RMIClassLoader.loadClass(URL,String) ,
RMIClassLoader.loadClass(String,String) , and
RMIClassLoader.loadClass(String,String,ClassLoader) . |
Class<?> |
LoaderHandler.loadClass(URL codebase,
String name)
Deprecated.
no replacement
|
static Class<?> |
RMIClassLoader.loadClass(URL codebase,
String name)
Loads a class from a codebase URL.
|
static Class<?> |
RMIClassLoader.loadProxyClass(String codebase,
String[] interfaces,
ClassLoader defaultLoader)
Loads a dynamic proxy class (see
Proxy )
that implements a set of interfaces with the given names
from a codebase URL path. |
abstract Class<?> |
RMIClassLoaderSpi.loadProxyClass(String codebase,
String[] interfaces,
ClassLoader defaultLoader)
Provides the implementation for
RMIClassLoader.loadProxyClass(String,String[],ClassLoader) . |
Modifier and Type | Method and Description |
---|---|
Object |
SignedObject.getObject()
Retrieves the encapsulated object.
|
Modifier and Type | Method and Description |
---|---|
Object |
CommandInfo.getCommandObject(DataHandler dh,
ClassLoader loader)
Return the instantiated JavaBean component.
|
void |
MimeType.readExternal(ObjectInput in)
The object implements the readExternal method to restore its
contents by calling the methods of DataInput for primitive
types and readObject for objects, strings and arrays.
|
Modifier and Type | Method and Description |
---|---|
Object |
SealedObject.getObject(Cipher c)
Retrieves the original (encapsulated) object.
|
Object |
SealedObject.getObject(Key key)
Retrieves the original (encapsulated) object.
|
Object |
SealedObject.getObject(Key key,
String provider)
Retrieves the original (encapsulated) object.
|
Modifier and Type | Method and Description |
---|---|
static Class<?> |
DefaultLoaderRepository.loadClass(String className)
Deprecated.
Go through the list of class loaders and try to load the requested class.
|
static Class<?> |
DefaultLoaderRepository.loadClassWithout(ClassLoader loader,
String className)
Deprecated.
Go through the list of class loaders but exclude the given class loader, then try to load
the requested class.
|
Modifier and Type | Method and Description |
---|---|
protected Class<?> |
MLet.findClass(String name)
This is the main method for class loaders that is being redefined.
|
static Class<?> |
DefaultLoaderRepository.loadClass(String className)
Deprecated.
Go through the list of class loaders and try to load the requested
class.
|
Class<?> |
ClassLoaderRepository.loadClass(String className)
Load the given class name through the list of class loaders.
|
Class<?> |
MLet.loadClass(String name,
ClassLoaderRepository clr)
Load a class, using the given
ClassLoaderRepository if
the class is not found in this MLet's URLs. |
Class<?> |
ClassLoaderRepository.loadClassBefore(ClassLoader stop,
String className)
Load the given class name through the list of class loaders,
stopping at the given one.
|
static Class<?> |
DefaultLoaderRepository.loadClassWithout(ClassLoader loader,
String className)
Deprecated.
Go through the list of class loaders but exclude the given
class loader, then try to load
the requested class.
|
Class<?> |
ClassLoaderRepository.loadClassWithout(ClassLoader exclude,
String className)
Load the given class name through the list of class loaders,
excluding the given one.
|
void |
MLet.readExternal(ObjectInput in)
Restore this MLet's contents from the given
ObjectInput . |
Constructor and Description |
---|
RoleInfo(String roleName,
String mbeanClassName)
Constructor.
|
RoleInfo(String roleName,
String mbeanClassName,
boolean read,
boolean write)
Constructor.
|
RoleInfo(String roleName,
String mbeanClassName,
boolean read,
boolean write,
int min,
int max,
String descr)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static Class |
Util.loadClass(String className,
String remoteCodebase,
ClassLoader loader)
Returns a class instance for the specified class.
|
Class |
UtilDelegate.loadClass(String className,
String remoteCodebase,
ClassLoader loader)
Delegation call for
Util.loadClass(java.lang.String, java.lang.String, java.lang.ClassLoader) . |
void |
StubDelegate.readObject(Stub self,
ObjectInputStream s)
Delegation call for
Stub.readObject(java.io.ObjectInputStream) . |
Modifier and Type | Method and Description |
---|---|
static void |
UIManager.setLookAndFeel(String className)
Loads the
LookAndFeel specified by the given class
name, using the current thread's context class loader, and
passes it to setLookAndFeel(LookAndFeel) . |
Modifier and Type | Method and Description |
---|---|
void |
StyleContext.readAttributes(ObjectInputStream in,
MutableAttributeSet a)
Context-specific handling of reading in attributes
|
static void |
StyleContext.readAttributeSet(ObjectInputStream in,
MutableAttributeSet a)
Reads a set of attributes from the given object input
stream that have been previously written out with
writeAttributeSet . |
Modifier and Type | Method and Description |
---|---|
static DOMImplementationRegistry |
DOMImplementationRegistry.newInstance()
Obtain a new instance of a
DOMImplementationRegistry . |
Modifier and Type | Method and Description |
---|---|
static Parser |
ParserFactory.makeParser()
Deprecated.
Create a new SAX parser using the `org.xml.sax.parser' system property.
|
static Parser |
ParserFactory.makeParser(String className)
Deprecated.
Create a new SAX parser object using the class name provided.
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2016, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.