org.activemath.abstractcontent
Interface ConfiguredObjectMaker


public interface ConfiguredObjectMaker

This interface describes a generic object-factory based on Subconfiguration objects.

Version:

Method Summary
 Object createConfiguredObject(Subconfiguration config)
          Creates the object using the class property of config, expecting either a constructor in the indicated class that takes a parameter, the provided Subconfiguration or a blank constructor.
 

Method Detail

createConfiguredObject

Object createConfiguredObject(Subconfiguration config)
                              throws Exception
Creates the object using the class property of config, expecting either a constructor in the indicated class that takes a parameter, the provided Subconfiguration or a blank constructor.

Throws:
Exception