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

org.picocontainer.lifecycle.BuiltInStartableComponent Maven / Gradle / Ivy

There is a newer version: 2.15
Show newest version
package org.picocontainer.lifecycle;

import org.picocontainer.Startable;
import org.picocontainer.Disposable;

public class BuiltInStartableComponent implements Startable, Disposable {

    StringBuilder sb;

    public BuiltInStartableComponent(StringBuilder sb) {
        this.sb = sb;
    }

    public void start() {
        sb.append("<");
    }

    public void stop() {
        sb.append(">");
    }

    public void dispose() {
        sb.append("!");
    }
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy