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

gw.config.BaseService Maven / Gradle / Ivy

There is a newer version: 1.18.2
Show newest version
/*
 * Copyright 2014 Guidewire Software, Inc.
 */

package gw.config;

public abstract class BaseService implements IService
{
  private boolean _inited = false;

  public final boolean isInited()
  {
    return _inited;
  }

  public final void init()
  {
    doInit();
    _inited = true;
  }

  public final void uninit()
  {
    doInit();
    _inited = false;
  }

  protected void doInit() {
    // for subclasses
  }
  
  protected void doUninit() {
    // for subclasses
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy