Package jfun.yan.xml.nuts

Source Code of jfun.yan.xml.nuts.FactoryProcedure

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;
  }
}
TOP

Related Classes of jfun.yan.xml.nuts.FactoryProcedure

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.