package jfun.yan.xml.nuts;
import jfun.yan.factory.Factory;
import jfun.yan.lifecycle.Procedure;
final class FactoryProcedure implements Procedure {
public void invoke(Object self, Object[] args){
final Factory f = (Factory)self;
f.create();
}
private FactoryProcedure(){}
private static final Procedure singleton = new FactoryProcedure();
static Procedure instance(){
return singleton;
}
}