Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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

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

Method Detail

### getClassAnnotation

    public 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`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004 Sun Microsystems, Inc. All rights reserved