Uses of Class java.lang.Class

Uses in package java.lang.reflect

Methods with return type java.lang.Class

Class<T>
Gets the class that declared this member.

Uses in package java.net

Methods with parameter type java.lang.Class

Object
URL.getContent(Class<T>[] classes)
Gets the contents of this URL
Object
Retrieves the content of this URLConnection
Object
This method reads from the InputStream of the passed in URL connection and uses the data downloaded to create an Object represening the content.

Uses in package javax.rmi

Methods with parameter type java.lang.Class

Object
PortableRemoteObject.narrow(Object object, Class<T> narrowToInstaceOf)
Narrows the passed object to conform to the given interface or IDL type.

Uses in package javax.imageio.spi

Constructors with parameter type java.lang.Class

ImageReaderSpi.ImageReaderSpi(String vendorName, String version, String[] names, String[] suffixes, String[] MIMETypes, String readerClassName, Class<T>[] inputTypes, String[] writerSpiNames, boolean supportsStandardStreamMetadataFormat, String nativeStreamMetadataFormatName, String nativeStreamMetadataFormatClassName, String[] extraStreamMetadataFormatNames, String[] extraStreamMetadataFormatClassNames, boolean supportsStandardImageMetadataFormat, String nativeImageMetadataFormatName, String nativeImageMetadataFormatClassName, String[] extraImageMetadataFormatNames, String[] extraImageMetadataFormatClassNames)
ImageWriterSpi.ImageWriterSpi(String vendorName, String version, String[] names, String[] suffixes, String[] MIMETypes, String writerClassName, Class<T>[] outputTypes, String[] readerSpiNames, boolean supportsStandardStreamMetadataFormat, String nativeStreamMetadataFormatName, String nativeStreamMetadataFormatClassName, String[] extraStreamMetadataFormatNames, String[] extraStreamMetadataFormatClassNames, boolean supportsStandardImageMetadataFormat, String nativeImageMetadataFormatName, String nativeImageMetadataFormatClassName, String[] extraImageMetadataFormatNames, String[] extraImageMetadataFormatClassNames)

Fields of type java.lang.Class

Class<T>[]
Class<T>[]
Class<T>[]
Class<T>[]

Methods with return type java.lang.Class

Class<T>[]
Class<T>[]

Uses in package javax.crypto

Methods with parameter type java.lang.Class

KeySpec
Translate a SecretKey into a java.security.KeySpec.
KeySpec
Get the key specification from a secret key.

Uses in package javax.print

Methods with return type java.lang.Class

Class<T>[]
Returns the unsupported printing attribute classes for a print service that does not support the attribute category at all.

Uses in package java.awt.image.renderable

Methods with return type java.lang.Class

Class<T>[]

Uses in package java.lang

Methods with return type java.lang.Class

Class<T>[]
Get a list of all the classes currently executing methods on the Java stack. getClassContext()[0] is the currently executing method (ie. the class that CALLED getClassContext, not SecurityManager).

Uses in package org.omg.DynamicAny

Fields of type java.lang.Class

Class<T>
The purpose and value of this field are not documented.
Class<T>
The purpose and value of this field are not documented.
Class<T>
The purpose and value of this field are not documented.
Class<T>
The purpose and value of this field are not documented.
Class<T>
The purpose and value of this field are not documented.
Class<T>
The purpose and value of this field are not documented.
Class<T>
The purpose and value of this field are not documented.
Class<T>
The purpose and value of this field are not documented.
Class<T>
The purpose and value of this field are not documented.

Uses in package org.omg.PortableServer

Fields of type java.lang.Class

Class<T>
This the purpose of this field is undocumented up till 1.5 java API inclusive.
Class<T>
This the purpose of this field is undocumented up till 1.5 java API inclusive.

Uses in package javax.management

Methods with return type java.lang.Class

Class<T>
Attempts to load the given class using class loaders supplied by the repository of each MBeanServer.
Class<T>
Attempts to load the given class using class loaders supplied by the repository of each MBeanServer.

Uses in package org.omg.CORBA_2_3.portable

Methods with parameter type java.lang.Class

Object
Read the abstract interface, corresponding to the passed type.
Serializable
Read a value type structure, corresponing to the passed type.
void
Writes a value type into the output stream, stating it is an instance of the given class.

Uses in package org.omg.CORBA.portable

Methods with parameter type java.lang.Class

ServantObject
ObjectImpl._servant_preinvoke(String method, Class<T> expected_type)
Returns a servant that should be used for this request.
Object
Read a CORBA object that is an instance of the class, passed as an argument.
ServantObject
Delegate.servant_preinvoke(Object self, String operation, Class<T> expectedType)
Returns a servant that should be used for this request.

Uses in package javax.rmi.CORBA

Methods with parameter type java.lang.Class

String
This call is finally delegated to RMIClassLoader.getClassAnnotation(Class);
String
String
Get CORBA repository Id for the given java class.
boolean
Indicates that the given class is responsible itself for writing its content to the stream.
Object
Narrows the passed object to conform to the given interface or IDL type.
Serializable
ValueHandler.readValue(InputStream in, int offset, Class<T> clz, String repositoryID, RunTime sender)
Read value from the CORBA input stream in the case when the value is not Streamable or CustomMarshall'ed.

Methods with return type java.lang.Class

Class<T>
Util.loadClass(String className, String remoteCodebase, ClassLoader loader)
Load the class.
Class<T>
UtilDelegate.loadClass(String className, String remoteCodebase, ClassLoader loader)

Uses in package java.lang.instrument

Methods with return type java.lang.Class

Class<T>[]
Get all the classes loaded by the JVM.
Class<T>[]
Get all the classes loaded by a given class loader

Uses in package org.omg.CORBA

Methods with parameter type java.lang.Class

ServantObject
LocalObject._servant_preinvoke(String operation, Class<T> expectedType)
This method is called from rmic generated stubs if the Util.isLocal(Stub), called passing this as parameter, returns true.

Uses in package java.beans.beancontext

Constructors with parameter type java.lang.Class

Create a new service available event.
Create a new service revoked event.

Fields of type java.lang.Class

Class<T>
The Class representing the service which is now available.
Class<T>
The Class representing the service which is now available.

Methods with parameter type java.lang.Class

boolean
Register a service to make it available to others.
boolean
Registers a new service from the specified service provider.
boolean
Registers a new service from the specified service provider.
boolean
BeanContextServicesSupport.BCSSServiceProvider
Provides a hook so that subclasses can replace the BeanContextServicesSupport.BCSSServiceProvider class, used to store registered service providers, with a subclass without replacing the addService(Class,BeanContextServiceProvider) method.
void
Sends a BeanContextServiceAvailableEvent to all registered listeners.
void
BeanContextServicesSupport.fireServiceRevoked(Class<T> serviceClass, boolean revokeNow)
Sends a BeanContextServiceRevokedEvent to all registered listeners.
Iterator<E>
Get a list of valid service selectors for the specified service class.
Iterator<E>
Get a list of valid service selectors for the specified service class.
Iterator<E>
Get a list of valid service selectors for the specified service class.
Iterator<E>
Returns an iterator over the service selectors of the service provider for the given service.
Object
BeanContextServices.getService(BeanContextChild requestorChild, Object requestor, Class<T> serviceClass, Object serviceSelector, BeanContextServiceRevokedListener listener)
Get a service from this BeanContextServices.
Object
Retrieves the specified service.
Object
BeanContextServiceProvider.getService(BeanContextServices services, Object requestor, Class<T> serviceClass, Object serviceSelector)
Get a service.
Object
Get a service.
boolean
Tell whether the specified service class is available.
boolean
Returns true if the specified service is available.
boolean
Tell whether the revoked service class is the same as the specified class.
void
BeanContextServices.revokeService(Class<T> serviceClass, BeanContextServiceProvider provider, boolean revokeNow)
Make it so that no one else can use this service.
void
BeanContextServicesSupport.revokeService(Class<T> serviceClass, BeanContextServiceProvider bcsp, boolean revokeCurrentServicesNow)
Revokes the given service.

Methods with return type java.lang.Class

Class<T>
Get the newly available service class.
Class<T>
Get the revoked service class.