package commons.cmd;
import commons.application.core.AbstractEngineFactory;
/**
 * just demo. loding no services. but system services are available.
 * @author ks
 */
public class REGISTRY extends AbstractEngineFactory
{

public void registration ()
{
/**
 * Here you see three ways to map services. 1.) simple register id and an instance.
 * ---------------------------------------- register ("simple", new SimpleService()); 2.)
 * Instantiate Service and attach forerunners and/or follower services, then register service.
 * ---------------------------------------- Service s = new Begin(); s.addForerunner(new Before());
 * s.addFollower(new P2()); Service p3 = new P3(); s.addFollower(p3); register ("myservice", s); 3.)
 * register and define followers and forerunners in one step. Appropriate Constructors are required
 * in your service implemenations. Superclass expects first constructor parameter to be the
 * forerunnner, second to be the follower. ----------------------------------------
 * register("otherservice", new C( new B( new A(), null ), new B2( null, new B23() ) ) );
 */
}
}
