    001    package org.picocontainer.lifecycle;
    002
    003    import org.picocontainer.Startable;
    004    import org.picocontainer.Disposable;
    005
    006    public class BuiltInStartableComponent implements Startable, Disposable {
    007
    008        StringBuilder sb;
    009
    010        public BuiltInStartableComponent(StringBuilder sb) {
    011            this.sb = sb;
    012        }
    013
    014        public void start() {
    015            sb.append("<");
    016        }
    017
    018        public void stop() {
    019            sb.append(">");
    020        }
    021
    022        public void dispose() {
    023            sb.append("!");
    024        }
    025    }
    026