public class ReasonerFactoryAssembler extends AssemblerBase implements Assembler
If the class is specified by class name then an instance of that class
is acquired by calling its
theInstance method if it
has one. Otherwise a fresh instance is constructed by calling its
zero-argument constructor (and exploding if it hasn't got one).
Thanks to Adam Cimarosti for provoking this code and providing an example implementation.
|Constructor and Description|
|Modifier and Type||Method and Description|
Answer a ReasonerFactory which delivers reasoners with the given URL
The core operation: answer a new object constructed according to the object description hanging from
getOptionalClassName, getRequiredResource, open, open, openModel, openModel
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
root, using the assembler
afor any sub-objects. Use
modeto decide if persistent objects are to be re-used or created; this mode is passed down to all sub-object construction.
Licenced under the Apache License, Version 2.0