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

com.ibm.wsspi.runtime.component.WsComponent Maven / Gradle / Ivy

There is a newer version: 4.0.0
Show newest version
/*
 * #%L
 * VisualWAS
 * %%
 * Copyright (C) 2013 - 2018 Andreas Veithen
 * %%
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as
 * published by the Free Software Foundation, either version 3 of the 
 * License, or (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public 
 * License along with this program.  If not, see
 * .
 * #L%
 */
package com.ibm.wsspi.runtime.component;

public interface WsComponent {
    String INITIALIZING = "INITIALIZING";
    String INITIALIZED = "INITIALIZED";
    String STARTING = "STARTING";
    String STARTED = "STARTED";
    String STOPPING = "STOPPING";
    String STOPPED = "STOPPED";
    String DESTROYING = "DESTROYING";
    String DESTROYED = "DESTROYED";
    String ERROR = "ERROR";
    
    String getName();
    String getState();
    void initialize(Object config) /* throws ... */;
    void destroy();
    void start() /* throws ... */;
    void stop();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy