jasco.runtime.aspect.factory
Interface IAspectInstanceCreator

All Known Implementing Classes:
DynamicHookElement

public interface IAspectInstanceCreator


Method Summary
 IHook createNewInstance()
          Creates and initialises a new hook instance as specified by the connector.
 IHook createNewInstance(java.lang.ClassLoader classLoader)
          Creates and initialises a new hook instance as specified by the connector.
 

Method Detail

createNewInstance

IHook createNewInstance()
                        throws HookInstantiationFailed
Creates and initialises a new hook instance as specified by the connector.

Returns:
the new hook instance
Throws:
HookInstantiationFailed

createNewInstance

IHook createNewInstance(java.lang.ClassLoader classLoader)
                        throws HookInstantiationFailed
Creates and initialises a new hook instance as specified by the connector.

Parameters:
classLoader - The classLoader to use for loading the hook's class data.
Returns:
the new hook instance
Throws:
HookInstantiationFailed