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

com.zusmart.basic.cycle.Stable Maven / Gradle / Ivy

Go to download

基础模块,提供配置,日志,SPI,图排序,路径匹配,资源扫描,包扫描,常用工具类

There is a newer version: 0.0.3
Show newest version
package com.zusmart.basic.cycle;

public interface Stable> extends Eventable {

	public void start() throws Exception;

	public void close() throws Exception;

	public StableType getStableType();

	public boolean isRunning();

	public boolean isStarting();

	public boolean isClosing();

	public boolean isClosed();

	public boolean isFailed();

	public void attachStartingListener(L listener);

	public void detachStartingListener(L listener);

	public void attachStartSuccessListener(L listener);

	public void detachStartSuccessListener(L listener);

	public void attachStartFailureListener(L listener);

	public void detachStartFaulureListener(L listener);

	public void attachClosingListener(L listener);

	public void detachClosingListener(L listener);

	public void attachCloseSuccessListener(L listener);

	public void detachCloseSuccessListener(L listener);

	public void attachCloseFailureListener(L listener);

	public void detachCloseFailureListener(L listener);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy