All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.ebeaninternal.server.deploy.BeanManager Maven / Gradle / Ivy

There is a newer version: 15.8.1
Show newest version
package io.ebeaninternal.server.deploy;

import io.ebeaninternal.server.persist.BeanPersister;

/**
 * Holds the BeanDescriptor and its associated BeanPersister.
 */
public final class BeanManager {

  private final BeanPersister persister;
  private final BeanDescriptor descriptor;

  public BeanManager(BeanDescriptor descriptor, BeanPersister persister) {
    this.descriptor = descriptor;
    this.persister = persister;
  }

  /**
   * Return the associated BeanPersister.
   */
  public BeanPersister getBeanPersister() {
    return persister;
  }

  /**
   * Return the BeanDescriptor.
   */
  public BeanDescriptor getBeanDescriptor() {
    return descriptor;
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy