You can create Nucleus components that are based on classes that have constructors that require arguments (parameterized constructors). Oracle ATG Web Commerce includes two components that you can use to create components based on classes with parameterized constructors. These components are:

Use the $instanceFactory property to specify the component that Nucleus will use to create a component with a parameterized constructor. See instructions for using the instance factory components in ParameterConstructorInstanceFactory and MethodInstanceFactory.

Copyright © 1997, 2013 Oracle and/or its affiliates. All rights reserved. Legal Notices