Uses of Class java.lang.Class

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 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.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 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 java.awt.image.renderable

Methods with return type java.lang.Class

Class<T>[]

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 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 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 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.

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.