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.