Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
Drag and Drop is a direct manipulation gesture found in many Graphical
User Interface systems that provides a mechanism to transfer
information between two entities logically associated with presentation
elements in the GUI.
Provides the management interface for monitoring and management of the
Java virtual machine as well as the operating system on which the
Java virtual machine is running.
Contains the collections framework, legacy collection classes, event model,
date and time facilities, internationalization, and miscellaneous utility
classes (a string tokenizer, a random-number generator, and a bit array).
The scripting API consists of interfaces and classes that define
Java TM Scripting Engines and provides
a framework for their use in Java applications.
Provides the mapping of the OMG CORBA APIs to the JavaTM
programming language, including the class ORB, which is implemented
so that a programmer can use it as a fully-functional Object Request Broker
(ORB).
Provides classes and interfaces that enable traversal of the data value
associated with an any at
runtime, and extraction of the primitive constituents of the data value.
Toolkit.createDragGestureRecognizer(Class<T> abstractRecognizerClass,
DragSource ds,
Component c,
int srcActions,
DragGestureListener dgl)
Creates a concrete, platform dependent, subclass of the abstract
DragGestureRecognizer class requested, and associates it with the
DragSource, Component and DragGestureListener specified.
CheckboxMenuItem.getListeners(Class<T> listenerType)
Returns an array of all the objects currently registered
as FooListeners
upon this CheckboxMenuItem.
AWTEventMulticaster.getListeners(EventListener l,
Class<T> listenerType)
Returns an array of all the objects chained as
FooListeners by the specified
java.util.EventListener.
protected static void
AWTKeyStroke.registerSubclass(Class<?> subclass)
Registers a new class which the factory methods in
AWTKeyStroke will use when generating new
instances of AWTKeyStrokes.
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.
DragSource.createDragGestureRecognizer(Class<T> recognizerAbstractClass,
Component c,
int actions,
DragGestureListener dgl)
Creates a new DragGestureRecognizer
that implements the specified
abstract subclass of
DragGestureRecognizer, and
sets the specified Component
and DragGestureListener on
the newly created object.
EventHandler.create(Class<T> listenerInterface,
Object target,
String action)
Creates an implementation of listenerInterface in which
all of the methods in the listener interface apply
the handler's action to the target.
static
<T> T
EventHandler.create(Class<T> listenerInterface,
Object target,
String action,
String eventPropertyName)
/**
Creates an implementation of listenerInterface in which
all of the methods pass the value of the event
expression, eventPropertyName, to the final method in the
statement, action, which is applied to the target.
static
<T> T
EventHandler.create(Class<T> listenerInterface,
Object target,
String action,
String eventPropertyName,
String listenerMethodName)
Creates an implementation of listenerInterface in which
the method named listenerMethodName
passes the value of the event expression, eventPropertyName,
to the final method in the statement, action, which
is applied to the target.
Introspector.getBeanInfo(Class<?> beanClass,
Class<?> stopClass)
Introspect on a Java bean and learn all about its properties, exposed
methods, below a given "stop" point.
Introspector.getBeanInfo(Class<?> beanClass,
Class<?> stopClass)
Introspect on a Java bean and learn all about its properties, exposed
methods, below a given "stop" point.
Introspector.getBeanInfo(Class<?> beanClass,
int flags)
Introspect on a Java bean and learn about all its properties, exposed
methods, and events, subject to some control flags.
DefaultPersistenceDelegate.initialize(Class<?> type,
Object oldInstance,
Object newInstance,
Encoder out)
This default implementation of the initialize method assumes
all state held in objects of this type is exposed via the
matching pairs of "setter" and "getter" methods in the order
they are returned by the Introspector.
protected void
PersistenceDelegate.initialize(Class<?> type,
Object oldInstance,
Object newInstance,
Encoder out)
Produce a series of statements with side effects on newInstance
so that the new instance becomes equivalent to oldInstance.
static boolean
Beans.isInstanceOf(Object bean,
Class<?> targetType)
Check if a bean can be viewed as a given target type.
static void
PropertyEditorManager.registerEditor(Class<?> targetType,
Class<?> editorClass)
Register an editor class to be used to edit values of
a given target class.
static void
PropertyEditorManager.registerEditor(Class<?> targetType,
Class<?> editorClass)
Register an editor class to be used to edit values of
a given target class.
BeanDescriptor(Class<?> beanClass)
Create a BeanDescriptor for a bean that doesn't have a customizer.
BeanDescriptor(Class<?> beanClass,
Class<?> customizerClass)
Create a BeanDescriptor for a bean that has a customizer.
BeanDescriptor(Class<?> beanClass,
Class<?> customizerClass)
Create a BeanDescriptor for a bean that has a customizer.
EventSetDescriptor(Class<?> sourceClass,
String eventSetName,
Class<?> listenerType,
String listenerMethodName)
Creates an EventSetDescriptor assuming that you are
following the most simple standard design pattern where a named
event "fred" is (1) delivered as a call on the single method of
interface FredListener, (2) has a single argument of type FredEvent,
and (3) where the FredListener may be registered with a call on an
addFredListener method of the source component and removed with a
call on a removeFredListener method.
EventSetDescriptor(Class<?> sourceClass,
String eventSetName,
Class<?> listenerType,
String listenerMethodName)
Creates an EventSetDescriptor assuming that you are
following the most simple standard design pattern where a named
event "fred" is (1) delivered as a call on the single method of
interface FredListener, (2) has a single argument of type FredEvent,
and (3) where the FredListener may be registered with a call on an
addFredListener method of the source component and removed with a
call on a removeFredListener method.
EventSetDescriptor(Class<?> sourceClass,
String eventSetName,
Class<?> listenerType,
String[] listenerMethodNames,
String addListenerMethodName,
String removeListenerMethodName)
Creates an EventSetDescriptor from scratch using
string names.
EventSetDescriptor(Class<?> sourceClass,
String eventSetName,
Class<?> listenerType,
String[] listenerMethodNames,
String addListenerMethodName,
String removeListenerMethodName)
Creates an EventSetDescriptor from scratch using
string names.
EventSetDescriptor(Class<?> sourceClass,
String eventSetName,
Class<?> listenerType,
String[] listenerMethodNames,
String addListenerMethodName,
String removeListenerMethodName,
String getListenerMethodName)
This constructor creates an EventSetDescriptor from scratch using
string names.
EventSetDescriptor(Class<?> sourceClass,
String eventSetName,
Class<?> listenerType,
String[] listenerMethodNames,
String addListenerMethodName,
String removeListenerMethodName,
String getListenerMethodName)
This constructor creates an EventSetDescriptor from scratch using
string names.
EventSetDescriptor(String eventSetName,
Class<?> listenerType,
Method[] listenerMethods,
Method addListenerMethod,
Method removeListenerMethod)
Creates an EventSetDescriptor from scratch using
java.lang.reflect.Method and java.lang.Class objects.
EventSetDescriptor(String eventSetName,
Class<?> listenerType,
Method[] listenerMethods,
Method addListenerMethod,
Method removeListenerMethod,
Method getListenerMethod)
This constructor creates an EventSetDescriptor from scratch using
java.lang.reflect.Method and java.lang.Class objects.
EventSetDescriptor(String eventSetName,
Class<?> listenerType,
MethodDescriptor[] listenerMethodDescriptors,
Method addListenerMethod,
Method removeListenerMethod)
Creates an EventSetDescriptor from scratch using
java.lang.reflect.MethodDescriptor and java.lang.Class
objects.
IndexedPropertyDescriptor(String propertyName,
Class<?> beanClass)
This constructor constructs an IndexedPropertyDescriptor for a property
that follows the standard Java conventions by having getFoo and setFoo
accessor methods, for both indexed access and array access.
IndexedPropertyDescriptor(String propertyName,
Class<?> beanClass,
String readMethodName,
String writeMethodName,
String indexedReadMethodName,
String indexedWriteMethodName)
This constructor takes the name of a simple property, and method
names for reading and writing the property, both indexed
and non-indexed.
PropertyDescriptor(String propertyName,
Class<?> beanClass)
Constructs a PropertyDescriptor for a property that follows
the standard Java convention by having getFoo and setFoo
accessor methods.
PropertyDescriptor(String propertyName,
Class<?> beanClass,
String readMethodName,
String writeMethodName)
This constructor takes the name of a simple property, and method
names for reading and writing the property.
BeanContextServicesSupport.createBCSSServiceProvider(Class sc,
BeanContextServiceProvider bcsp)
subclasses can override this method to create new subclasses of
BCSSServiceProvider without having to overrride addService() in
order to instantiate.
protected void
BeanContextServicesSupport.fireServiceAdded(Class serviceClass)
Fires a BeanContextServiceEvent notifying of a new service.
protected void
BeanContextServicesSupport.fireServiceRevoked(Class serviceClass,
boolean revokeNow)
Fires a BeanContextServiceRevokedEvent
indicating that a particular service is
no longer available.
BeanContextServiceProvider.getCurrentServiceSelectors(BeanContextServices bcs,
Class serviceClass)
Invoked by BeanContextServices, this method
gets the current service selectors for the specified service.
BeanContextServices.getCurrentServiceSelectors(Class serviceClass)
Gets the list of service dependent service parameters
(Service Selectors) for the specified service, by
calling getCurrentServiceSelectors() on the
underlying BeanContextServiceProvider.
BeanContextServices.getService(BeanContextChild child,
Object requestor,
Class serviceClass,
Object serviceSelector,
BeanContextServiceRevokedListener bcsrl)
A BeanContextChild, or any arbitrary object
associated with a BeanContextChild, may obtain
a reference to a currently registered service from its
nesting BeanContextServices
via invocation of this method.
BeanContextServiceProvider.getService(BeanContextServices bcs,
Object requestor,
Class serviceClass,
Object serviceSelector)
Invoked by BeanContextServices, this method
requests an instance of a
service from this BeanContextServiceProvider.
boolean
BeanContextServicesSupport.hasService(Class serviceClass)
has a service, which may be delegated
boolean
BeanContextServices.hasService(Class serviceClass)
Reports whether or not a given service is
currently available from this context.
boolean
BeanContextServiceRevokedEvent.isServiceClass(Class service)
Checks this event to determine whether or not
the service being revoked is of a particular class.
BeanContextServices.revokeService(Class serviceClass,
BeanContextServiceProvider serviceProvider,
boolean revokeCurrentServicesNow)
BeanContextServiceProviders wishing to remove
a currently registered service from this context
may do so via invocation of this method.
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.
ObjectOutputStream.annotateClass(Class<?> cl)
Subclasses may implement this method to allow class data to be stored in
the stream.
protected void
ObjectOutputStream.annotateProxyClass(Class<?> cl)
Subclasses may implement this method to store custom data in the stream
along with descriptors for dynamic proxy classes.
ObjectStreamField(String name,
Class<?> type,
boolean unshared)
Creates an ObjectStreamField representing a serializable field with the
given name and type.
SecurityManager.currentLoadedClass() Deprecated.This type of security checking is not recommended.
It is recommended that the checkPermission
call be used instead.
ClassLoader.defineClass(String name,
byte[] b,
int off,
int len,
ProtectionDomain protectionDomain)
Converts an array of bytes into an instance of class Class,
with an optional ProtectionDomain.
ClassLoader.findLoadedClass(String name)
Returns the class with the given binary name if this
loader has been recorded by the Java virtual machine as an initiating
loader of a class with that binary name.
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.getClasses()
Returns an array containing Class objects representing all
the public classes and interfaces that are members of the class
represented by this Class object.
Class.getDeclaredClasses()
Returns an array of Class objects reflecting all the
classes and interfaces declared as members of the class represented by
this Class object.
Class.getDeclaringClass()
If the class or interface represented by this Class object
is a member of another class, returns the Class object
representing the class in which it was declared.
Class.getSuperclass()
Returns the Class representing the superclass of the entity
(class, interface, primitive type or void) represented by this
Class.
Class.getConstructor(Class<?>... parameterTypes)
Returns a Constructor object that reflects the specified
public constructor of the class represented by this Class
object.
Class.getDeclaredConstructor(Class<?>... parameterTypes)
Returns a Constructor object that reflects the specified
constructor of the class or interface represented by this
Class object.
Class.getDeclaredMethod(String name,
Class<?>... parameterTypes)
Returns a Method object that reflects the specified
declared method of the class or interface represented by this
Class object.
Class.getMethod(String name,
Class<?>... parameterTypes)
Returns a Method object that reflects the specified public
member method of the class or interface represented by this
Class object.
Class.isAssignableFrom(Class<?> cls)
Determines if the class or interface represented by this
Class object is either the same as, or is a superclass or
superinterface of, the class or interface represented by the specified
Class parameter.
IncompleteAnnotationException(Class<? extends Annotation> annotationType,
String elementName)
Constructs an IncompleteAnnotationException to indicate that
the named element was missing from the specified annotation type.
Instrumentation.retransformClasses(Class<?>... classes)
Retransform the supplied set of classes.
byte[]
ClassFileTransformer.transform(ClassLoader loader,
String className,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain,
byte[] classfileBuffer)
The implementation of this method may transform the supplied class file and
return a new replacement class file.
ManagementFactory.newPlatformMXBeanProxy(MBeanServerConnection connection,
String mxbeanName,
Class<T> mxbeanInterface)
Returns a proxy for a platform MXBean interface of a
given MXBean name
that forwards its method calls through the given
MBeanServerConnection.
Member.getDeclaringClass()
Returns the Class object representing the class or interface
that declares the member or constructor represented by this Member.
Method.getExceptionTypes()
Returns an array of Class objects that represent
the types of the exceptions declared to be thrown
by the underlying method
represented by this Method object.
Constructor.getExceptionTypes()
Returns an array of Class objects that represent the types
of exceptions declared to be thrown by the underlying constructor
represented by this Constructor object.
Method.getParameterTypes()
Returns an array of Class objects that represent the formal
parameter types, in declaration order, of the method
represented by this Method object.
Constructor.getParameterTypes()
Returns an array of Class objects that represent the formal
parameter types, in declaration order, of the constructor
represented by this Constructor object.
Proxy.getProxyClass(ClassLoader loader,
Class<?>... interfaces)
Returns the java.lang.Class object for a proxy class
given a class loader and an array of interfaces.
AnnotatedElement.getAnnotation(Class<T> annotationClass)
Returns this element's annotation for the specified type if
such an annotation is present, else null.
Proxy.getProxyClass(ClassLoader loader,
Class<?>... interfaces)
Returns the java.lang.Class object for a proxy class
given a class loader and an array of interfaces.
AnnotatedElement.isAnnotationPresent(Class<? extends Annotation> annotationClass)
Returns true if an annotation for the specified type
is present on this element, else false.
static boolean
Proxy.isProxyClass(Class<?> cl)
Returns true if and only if the specified class was dynamically
generated to be a proxy class using the getProxyClass
method or the newProxyInstance method.
Proxy.newProxyInstance(ClassLoader loader,
Class<?>[] interfaces,
InvocationHandler h)
Returns an instance of a proxy class for the specified interfaces
that dispatches method invocations to the specified invocation
handler.
ContentHandler.getContent(URLConnection urlc,
Class[] classes)
Given a URL connect stream positioned at the beginning of the
representation of an object, this method reads that stream and
creates an object that matches one of the types specified.
RMIClassLoader.loadClass(String codebase,
String name,
ClassLoader defaultLoader)
Loads a class from a codebase URL path, optionally using the
supplied loader.
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.
RMIClassLoader.getClassAnnotation(Class<?> cl)
Returns the annotation string (representing a location for
the class definition) that RMI will use to annotate the class
descriptor when marshalling objects of the given class.
SecureClassLoader.defineClass(String name,
byte[] b,
int off,
int len,
CodeSource cs)
Converts an array of bytes into an instance of class Class,
with an optional CodeSource.
KeyStoreSpi.engineEntryInstanceOf(String alias,
Class<? extends KeyStore.Entry> entryClass)
Determines if the keystore Entry for the specified
alias is an instance or subclass of the specified
entryClass.
AlgorithmParametersSpi.engineGetParameterSpec(Class<T> paramSpec)
Returns a (transparent) specification of this parameters
object.
boolean
KeyStore.entryInstanceOf(String alias,
Class<? extends KeyStore.Entry> entryClass)
Determines if the keystore Entry for the specified
alias is an instance or subclass of the specified
entryClass.
SQLXML.getSource(Class<T> sourceClass)
Returns a Source for reading the XML value designated by this SQLXML instance.
boolean
Wrapper.isWrapperFor(Class<?> iface)
Returns true if this either implements the interface argument or is directly or indirectly a wrapper
for an object that does.
SQLXML.setResult(Class<T> resultClass)
Returns a Result for setting the XML value designated by this SQLXML instance.
<T> T
Wrapper.unwrap(Class<T> iface)
Returns an object that implements the given interface to allow access to
non-standard methods, or standard methods not exposed by the proxy.
Method parameters in java.sql with type arguments of type Class
Array.getArray(long index,
int count,
Map<String,Class<?>> map)
Retreives a slice of the SQL ARRAY value
designated by this Array object, beginning with the specified
index and containing up to count
successive elements of the SQL array.
Struct.getAttributes(Map<String,Class<?>> map)
Produces the ordered values of the attributes of the SQL
structured type that this Struct object represents.
CallableStatement.getObject(int parameterIndex,
Map<String,Class<?>> map)
Returns an object representing the value of OUT parameter
parameterIndex and uses map for the custom
mapping of the parameter value.
ResultSet.getObject(int columnIndex,
Map<String,Class<?>> map)
Retrieves the value of the designated column in the current row
of this ResultSet object as an Object
in the Java programming language.
CallableStatement.getObject(String parameterName,
Map<String,Class<?>> map)
Returns an object representing the value of OUT parameter
parameterName and uses map for the custom
mapping of the parameter value.
ResultSet.getObject(String columnLabel,
Map<String,Class<?>> map)
Retrieves the value of the designated column in the current row
of this ResultSet object as an Object
in the Java programming language.
Array.getResultSet(long index,
int count,
Map<String,Class<?>> map)
Retrieves a result set holding the elements of the subarray that
starts at index index and contains up to
count successive elements.
Collections.checkedSortedSet(SortedSet<E> s,
Class<E> type)
Returns a dynamically typesafe view of the specified sorted set.
static
<T,U> T[]
Arrays.copyOf(U[] original,
int newLength,
Class<? extends T[]> newType)
Copies the specified array, truncating or padding with nulls (if necessary)
so the copy has the specified length.
static
<T,U> T[]
Arrays.copyOfRange(U[] original,
int from,
int to,
Class<? extends T[]> newType)
Copies the specified range of the specified array into a new array.
EnumMap(Class<K> keyType)
Creates an empty enum map with the specified key type.
IllegalFormatConversionException(char c,
Class<?> arg)
Constructs an instance of this class with the mismatched conversion and
the corresponding argument class.
AtomicReferenceFieldUpdater.newUpdater(Class<U> tclass,
Class<W> vclass,
String fieldName)
Creates and returns an updater for objects with the given field.
AtomicReferenceFieldUpdater.newUpdater(Class<U> tclass,
Class<W> vclass,
String fieldName)
Creates and returns an updater for objects with the given field.
Preferences.systemNodeForPackage(Class<?> c)
Returns the preference node from the system preference tree that is
associated (by convention) with the specified class's package.
Preferences.userNodeForPackage(Class<?> c)
Returns the preference node from the calling user's preference tree
that is associated (by convention) with the specified class's package.
ActivationDataFlavor(Class representationClass,
String humanPresentableName)
Construct a DataFlavor that represents a MimeType.
ActivationDataFlavor(Class representationClass,
String mimeType,
String humanPresentableName)
Construct a DataFlavor that represents an arbitrary
Java object.
SecretKeyFactorySpi.engineGetKeySpec(SecretKey key,
Class keySpec)
Returns a specification (key material) of the given key
object in the requested format.
IIOMetadataFormatImpl.addObjectValue(String elementName,
Class<?> classType,
int arrayMinLength,
int arrayMaxLength)
Allows an Object reference of a given class type
to be stored in nodes implementing the named element.
protected
<T> void
IIOMetadataFormatImpl.addObjectValue(String elementName,
Class<T> classType,
boolean required,
T defaultValue)
Allows an Object reference of a given class type
to be stored in nodes implementing the named element.
protected
<T> void
IIOMetadataFormatImpl.addObjectValue(String elementName,
Class<T> classType,
boolean required,
T defaultValue,
List<? extends T> enumeratedValues)
Allows an Object reference of a given class type
to be stored in nodes implementing the named element.
IIOMetadataFormatImpl.addObjectValue(String elementName,
Class<T> classType,
T defaultValue,
Comparable<? super T> minValue,
Comparable<? super T> maxValue,
boolean minInclusive,
boolean maxInclusive)
Allows an Object reference of a given class type
to be stored in nodes implementing the named element.
ImageInputStreamSpi.getInputClass()
Returns a Class object representing the class or
interface type that must be implemented by an input source in
order to be "wrapped" in an ImageInputStream via
the createInputStreamInstance method.
ImageReaderSpi.getInputTypes()
Returns an array of Class objects indicating what
types of objects may be used as arguments to the reader's
setInput method.
ImageOutputStreamSpi.getOutputClass()
Returns a Class object representing the class or
interface type that must be implemented by an output
destination in order to be "wrapped" in an
ImageOutputStream via the
createOutputStreamInstance method.
ImageWriterSpi.getOutputTypes()
Returns an array of Class objects indicating what
types of objects may be used as arguments to the writer's
setOutput method.
ServiceRegistry.deregisterAll(Class<?> category)
Deregisters all service provider object currently registered
under the given category.
<T> boolean
ServiceRegistry.deregisterServiceProvider(T provider,
Class<T> category)
Removes a service provider object from the given category.
<T> T
ServiceRegistry.getServiceProviderByClass(Class<T> providerClass)
Returns the currently registered service provider object that
is of the given class type.
ServiceRegistry.getServiceProviders(Class<T> category,
boolean useOrdering)
Returns an Iterator containing all registered
service providers in the given category.
ServiceRegistry.getServiceProviders(Class<T> category,
ServiceRegistry.Filter filter,
boolean useOrdering)
Returns an Iterator containing service provider
objects within a given category that satisfy a criterion
imposed by the supplied ServiceRegistry.Filter
object's filter method.
ServiceRegistry.lookupProviders(Class<T> providerClass)
Locates and incrementally instantiates the available providers
of a given service using the context class loader.
ServiceRegistry.lookupProviders(Class<T> providerClass,
ClassLoader loader)
Searches for implementations of a particular service class
using the given class loader.
void
RegisterableService.onDeregistration(ServiceRegistry registry,
Class<?> category)
Called when an object implementing this interface is removed
from the given category of the given
registry.
void
IIOServiceProvider.onDeregistration(ServiceRegistry registry,
Class<?> category)
A callback that will be whenever the Spi class has been
deregistered from a ServiceRegistry.
void
RegisterableService.onRegistration(ServiceRegistry registry,
Class<?> category)
Called when an object implementing this interface is added to
the given category of the given
registry.
void
IIOServiceProvider.onRegistration(ServiceRegistry registry,
Class<?> category)
A callback that will be called exactly once after the Spi class
has been instantiated and registered in a
ServiceRegistry.
<T> boolean
ServiceRegistry.registerServiceProvider(T provider,
Class<T> category)
Adds a service provider object to the registry.
<T> boolean
ServiceRegistry.setOrdering(Class<T> category,
T firstProvider,
T secondProvider)
Sets a pairwise ordering between two service provider objects
within a given category.
<T> boolean
ServiceRegistry.unsetOrdering(Class<T> category,
T firstProvider,
T secondProvider)
Sets a pairwise ordering between two service provider objects
within a given category.
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.
MBeanServerInvocationHandler.newProxyInstance(MBeanServerConnection connection,
ObjectName objectName,
Class<T> interfaceClass,
boolean notificationBroadcaster)
Return a proxy that implements the given interface by
forwarding its methods through the given MBean server to the
named MBean.
StandardEmitterMBean(Class<?> mbeanInterface,
boolean isMXBean,
NotificationEmitter emitter)
Make an MBean whose management interface is specified by
mbeanInterface, and where notifications are handled by
the given NotificationEmitter.
StandardEmitterMBean(Class<?> mbeanInterface,
NotificationEmitter emitter)
Make an MBean whose management interface is specified by
mbeanInterface, and
where notifications are handled by the given NotificationEmitter.
StandardEmitterMBean(T implementation,
Class<T> mbeanInterface,
boolean isMXBean,
NotificationEmitter emitter)
Make an MBean whose management interface is specified by
mbeanInterface, with the given implementation and where
notifications are handled by the given NotificationEmitter.
StandardEmitterMBean(T implementation,
Class<T> mbeanInterface,
NotificationEmitter emitter)
Make an MBean whose management interface is specified by
mbeanInterface, with the given implementation and
where notifications are handled by the given NotificationEmitter.
StandardMBean(Class<?> mbeanInterface)
Make a DynamicMBean out of this, using the specified
mbeanInterface class.
StandardMBean(Class<?> mbeanInterface,
boolean isMXBean)
Make a DynamicMBean out of this, using the specified
mbeanInterface class.
StandardMBean(T implementation,
Class<T> mbeanInterface)
Make a DynamicMBean out of the object
implementation, using the specified
mbeanInterface class.
StandardMBean(T implementation,
Class<T> mbeanInterface,
boolean isMXBean)
Make a DynamicMBean out of the object
implementation, using the specified
mbeanInterface class.
ClassLoaderRepository.loadClassBefore(ClassLoader stop,
String className)
Load the given class name through the list of class loaders,
stopping at the given one.
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.
ClassLoaderRepository.loadClassWithout(ClassLoader exclude,
String className)
Load the given class name through the list of class loaders,
excluding the given one.
PrintService.getSupportedAttributeCategories()
Determines the printing attribute categories a client can specify
when setting up a job for this print service.
AttributeException.getUnsupportedAttributes()
Returns the array of printing attribute classes for which the Print
Service instance does not support the attribute at all, or null if
there are no such attributes.
PrintService.getDefaultAttributeValue(Class<? extends Attribute> category)
Determines this print service's default printing attribute value in
the given category.
PrintService.getSupportedAttributeValues(Class<? extends Attribute> category,
DocFlavor flavor,
AttributeSet attributes)
Determines the printing attribute values a client can specify in
the given category when setting up a job for this print service.
boolean
PrintService.isAttributeCategorySupported(Class<? extends Attribute> category)
Determines whether a client can specify the given printing
attribute category when setting up a job for this print service.
Attribute.getCategory()
Get the printing attribute class which is to be used as the "category"
for this printing attribute value when it is added to an attribute set.
AttributeSetUtilities.verifyAttributeCategory(Object object,
Class<?> interfaceName)
Verify that the given object is a Class that
implements the given interface, which is assumed to be interface Attribute or a subinterface thereof.
AttributeSetUtilities.verifyAttributeCategory(Object object,
Class<?> interfaceName)
Verify that the given object is a Class that
implements the given interface, which is assumed to be interface Attribute or a subinterface thereof.
AttributeSetUtilities.verifyAttributeValue(Object object,
Class<?> interfaceName)
Verify that the given object is an instance of the given interface, which
is assumed to be interface Attribute or a subinterface
thereof.
static void
AttributeSetUtilities.verifyCategoryForValue(Class<?> category,
Attribute attribute)
Verify that the given attribute category object is equal to the
category of the given attribute value object.
HashAttributeSet(Attribute[] attributes,
Class<?> interfaceName)
Construct a new attribute set, where the members of the attribute
set are restricted to the given interface.
HashAttributeSet(Attribute attribute,
Class<?> interfaceName)
Construct a new attribute set, initially populated with the given
attribute, where the members of the attribute set are restricted to the
given interface.
HashAttributeSet(AttributeSet attributes,
Class<?> interfaceName)
Construct a new attribute set, initially populated with the
values from the given set where the members of the attribute
set are restricted to the given interface.
HashAttributeSet(Class<?> interfaceName)
Construct a new, empty attribute set, where the members of
the attribute set are restricted to the given interface.
PortableRemoteObject.narrow(Object narrowFrom,
Class narrowTo)
Checks to ensure that an object of a remote or abstract interface type
can be cast to a desired type.
Invocable.getInterface(Class<T> clasz)
Returns an implementation of an interface using functions compiled in
the interpreter.
<T> T
Invocable.getInterface(Object thiz,
Class<T> clasz)
Returns an implementation of an interface using member functions of
a scripting object compiled in the interpreter.
Subject.getPrivateCredentials(Class<T> c)
Return a Set of private credentials associated with this
Subject that are instances or subclasses of the specified
Class.
Subject.getPublicCredentials(Class<T> c)
Return a Set of public credentials associated with this
Subject that are instances or subclasses of the specified
Class.
SoundbankResource(Soundbank soundBank,
String name,
Class<?> dataClass)
Constructs a new SoundbankResource from the given sound bank
and wavetable index.
DataLine.Info(Class<?> lineClass,
AudioFormat format)
Constructs a data line's info object from the specified information,
which includes a single audio format.
DataLine.Info(Class<?> lineClass,
AudioFormat[] formats,
int minBufferSize,
int maxBufferSize)
Constructs a data line's info object from the specified information,
which includes a set of supported audio formats and a range for the buffer size.
DataLine.Info(Class<?> lineClass,
AudioFormat format,
int bufferSize)
Constructs a data line's info object from the specified information,
which includes a single audio format and a desired buffer size.
Line.Info(Class<?> lineClass)
Constructs an info object that describes a line of the specified class.
Port.Info(Class<?> lineClass,
String name,
boolean isSource)
Constructs a port's info object from the information given.
RowSetMetaDataImpl.isWrapperFor(Class<?> interfaces)
Returns true if this either implements the interface argument or is directly or indirectly a wrapper
for an object that does.
<T> T
RowSetMetaDataImpl.unwrap(Class<T> iface)
Returns an object that implements the given interface to allow access to non-standard methods,
or standard methods not exposed by the proxy.
BaseRowSet.setTypeMap(Map<String,Class<?>> map)
Installs the given java.util.Map object as the type map
associated with the Connection object for this
RowSet object.
SerialArray.getArray(long index,
int count,
Map<String,Class<?>> map)
Returns a new array that is a copy of a slice
of this SerialArray object, starting with the
element at the given index and containing the given number
of consecutive elements.
SerialArray.getArray(Map<String,Class<?>> map)
Returns a new array that is a copy of this SerialArray
object, using the given type map for the custom
mapping of each element when the elements are SQL UDTs.
SerialStruct.getAttributes(Map<String,Class<?>> map)
Retrieves the attributes for the SQL structured type that
this SerialStruct represents as an array of
Object values, using the given type map for
custom mapping if appropriate.
SerialArray.getResultSet(long index,
int count,
Map<String,Class<?>> map)
Retrieves a result set holding the elements of the subarray that starts at
Retrieves a ResultSet object that contains a subarray of the
elements in this SerialArray object, starting at
index index and containing up to count successive
elements.
SerialArray.getResultSet(Map<String,Class<?>> map)
Retrieves a ResultSet object that contains all of
the elements of the SQL ARRAY
value represented by this SerialArray object.
SerialArray(Array array,
Map<String,Class<?>> map)
Constructs a new SerialArray object from the given
Array object, using the given type map for the custom
mapping of each element when the elements are SQL UDTs.
SerialStruct(SQLData in,
Map<String,Class<?>> map)
Constructs a SerialStruct object from the
given SQLData object, using the given type
map to custom map it to a class in the Java programming
language.
SerialStruct(Struct in,
Map<String,Class<?>> map)
Constructs a SerialStruct object from the given
Struct object, using the given java.util.Map
object for custom mapping the SQL structured type or any of its
attributes that are SQL structured types.
SQLInputImpl(Object[] attributes,
Map<String,Class<?>> map)
Creates an SQLInputImpl object initialized with the
given array of attributes and the given type map.
UIDefaults.getUIClass(String uiClassID,
ClassLoader uiClassLoader)
The value of get(uidClassID) must be the
String name of a
class that implements the corresponding ComponentUI
class.
SwingUtilities.getAncestorOfClass(Class<?> c,
Component comp)
Convenience method for searching above comp in the
component hierarchy and returns the first object of class c it
finds.
DefaultSingleSelectionModel.getListeners(Class<T> listenerType)
Returns an array of all the objects currently registered as
FooListeners
upon this model.
DefaultListSelectionModel.getListeners(Class<T> listenerType)
Returns an array of all the objects currently registered as
FooListeners
upon this model.
LookAndFeel.makeIcon(Class<?> baseClass,
String gifFile)
Creates and returns a UIDefault.LazyValue that loads an
image.
void
JTable.setDefaultEditor(Class<?> columnClass,
TableCellEditor editor)
Sets a default cell editor to be used if no editor has been set in
a TableColumn.
void
JTable.setDefaultRenderer(Class<?> columnClass,
TableCellRenderer renderer)
Sets a default cell renderer to be used if no renderer has been set in
a TableColumn.
AbstractTableModel.getListeners(Class<T> listenerType)
Returns an array of all the objects currently registered
as FooListeners
upon this AbstractTableModel.
DefaultTreeSelectionModel.getListeners(Class<T> listenerType)
Returns an array of all the objects currently registered
as FooListeners
upon this model.
Unmarshaller.unmarshal(Source source,
Class<T> declaredType)
Unmarshal XML data from the specified XML Source by declaredType and return the
resulting content tree.
static
<T> T
JAXB.unmarshal(String xml,
Class<T> type)
Reads in a Java object tree from the given XML input.
static
<T> T
JAXB.unmarshal(URI xml,
Class<T> type)
Reads in a Java object tree from the given XML input.
static
<T> T
JAXB.unmarshal(URL xml,
Class<T> type)
Reads in a Java object tree from the given XML input.
Unmarshaller.unmarshal(XMLEventReader reader,
Class<T> declaredType)
Unmarshal root element to JAXB mapped declaredType
and return the resulting content tree.
Unmarshaller.unmarshal(XMLStreamReader reader,
Class<T> declaredType)
Unmarshal root element to JAXB mapped declaredType
and return the resulting content tree.
ServiceDelegate.createDispatch(QName portName,
Class<T> type,
Service.Mode mode)
Creates a Dispatch instance for use with objects of
the user's choosing.
LocalObject._servant_preinvoke(String operation,
Class expectedType)
Throws an org.omg.CORBA.NO_IMPLEMENT exception with
the message "This is a locally constrained object."
This method is the default implementation of the
org.omg.CORBA.Object method.
ObjectImpl._servant_preinvoke(String operation,
Class expectedType)
Returns a Java reference to the local servant that should be used for sending
a request for the method specified.
Delegate.servant_preinvoke(Object self,
String operation,
Class expectedType)
Returns a Java reference to the servant which should be used for this
request.
Submit a bug or feature For further API reference and developer documentation, see Java SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.