001 package biz.hammurapi.registry; 002 003 /** 004 * Component factory which produces a piece of code. 005 * @author Pavel. 006 */ 007 public interface CodeSnippet { 008 009 /** 010 * @return Code for component instantiation/configuration. 011 */ 012 String getCode(); 013 }