public final class ClassBuilder extends java.lang.Object implements ManifestFactoryBuilder
| Constructor and Description |
|---|
ClassBuilder(java.lang.String pkg,
java.lang.String fname)
Instantiates objects by name for use by the ManifestFactory.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
createObject(java.util.Map params)
ask the builder to create an object based upon the Map parameters
|
java.lang.String |
getManifestFilename()
get the filename associated with this builder
TODO: probably should be a URL instead
TODO: probably going to need to generalize this a bit more, so that
we can have different webapps with different manifest files
|
public ClassBuilder(java.lang.String pkg,
java.lang.String fname)
pkg - Package name of Factory using this builderfname - manifest filenamepublic java.lang.Object createObject(java.util.Map params)
createObject in interface ManifestFactoryBuilderparams - Map of parameters to produce this Factory bypublic java.lang.String getManifestFilename()
getManifestFilename in interface ManifestFactoryBuilder