GigaSpaces XAP 9.7.2 API

net.jini.loader
Interface ClassAnnotation

All Known Implementing Classes:
PreferredClassLoader

public interface ClassAnnotation

Provides a class annotation string for classes defined by a class loader that is an instance of this interface.

This interface allows a ClassLoader subclass to customize the behavior of RMIClassLoader.getClassAnnotation (and thus RMI marshalling semantics) for classes defined by its instances.

Note that this interface is only effective if the current RMIClassLoader provider supports it; not all RMIClassLoader providers support this interface. In particular, the default provider (see RMIClassLoader.getDefaultProviderInstance) does not support this interface, and so when the default provider is used, this interface will be ignored by RMIClassLoader.getClassAnnotation. PreferredClassProvider and its subclasses do support this interface.

Since:
2.0
Author:
Sun Microsystems, Inc.

Method Summary
 String getClassAnnotation()
          Returns the class annotation string for classes defined by this class loader.
 

Method Detail

getClassAnnotation

String getClassAnnotation()
Returns the class annotation string for classes defined by this class loader. The returned value may be null.

Returns:
the class annotation string for classes defined by this loader, or null

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.