com.arsdigita.domain
Class ReflectionInstantiator
java.lang.Object
com.arsdigita.domain.DomainObjectInstantiator
com.arsdigita.domain.ReflectionInstantiator
- public class ReflectionInstantiator
- extends DomainObjectInstantiator
This instantiator is primarily intended for other instantiators
(such as ACSObjectInstantiator) to provide the default behavior
of instiating a domain class using reflection.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
versionId
public static final String versionId
- See Also:
- Constant Field Values
getInstantiator
public static ReflectionInstantiator getInstantiator(String domainClassName)
doNewInstance
protected DomainObject doNewInstance(DataObject dataObject)
- Construct a DomainObject given a data object. Called from
DomainObjectFactory.newInstance() as the last step of
instantiation.
- Specified by:
doNewInstance
in class DomainObjectInstantiator
- Parameters:
dataObject
- The data object from which to construct a domain
object.
- Returns:
- A domain object for this data object, or null if unable to create.
Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 20 2004:2337 UTC