createInstanceUsingSubClasser
public static java.lang.Object createInstanceUsingSubClasser(SubClasser pSubClasser,
                                                             java.lang.Class pClass,
                                                             Nucleus pNucleus,
                                                             atg.nucleus.PropertyConfiguration pConfiguration,
                                                             java.lang.Object pPreviousInstance)
                                                      throws java.lang.InstantiationException,
                                                             java.lang.IllegalAccessException
Utility method that invokes SubClasser methods around
 newInstance.
- Parameters:
 
pSubClasser - the subclasser to be invoke before
 and after newINstance. 
pClass - the class to be instantiated (this method
   may return a subclass if pSubClasser is non-null. 
pNucleus - The nucleus creating the instance 
pConfiguration - the Nucleus configuration for the component 
pPreviousInstance - the previous instance, if this
  is being created for a reload. Otherwise null. 
- Returns:
 
- a new instance of pClass (or an new instance of a subclass
  of pClass)
 
- Throws:
 
java.lang.InstantiationException 
java.lang.IllegalAccessException