javax.jdo.spi

## Interface RegisterClassListener

- All Superinterfaces:
    EventListener

      public interface RegisterClassListener
      extends EventListener

  A "RegisterClassEvent" event gets fired whenever a persistence-capable class is loaded and gets registered with the `JDOImplHelper`. You can register a `RegisterClassListener` so as to be notified of any registration of a persistence-capable class.
  Version:
    1.0

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `registerClass(RegisterClassEvent event)` This method gets called when a persistence-capable class is registered.

- - ### Method Detail

    - #### registerClass

          void registerClass(RegisterClassEvent event)

      This method gets called when a persistence-capable class is registered.
      Parameters:
        `event` - a `RegisterClassEvent` instance describing the registered class plus metadata.

Copyright © 2005–2022 The Apache Software Foundation. All rights reserved.