public interface ClassAnnotation
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.
Modifier and Type | Method and Description |
---|---|
String |
getClassAnnotation()
Returns the class annotation string for classes defined by this
class loader.
|
String getClassAnnotation()
null
.null