jasco.runtime.aspect.factory
Interface IAspectFactory

All Known Implementing Classes:
DefaultAspectFactory, PerAllAspectFactory, PerClassAspectFactory, PerMethodAspectFactory, PerObjectAspectFactory, PerThreadAspectFactory

public interface IAspectFactory

Interface for custom aspect factories. Implementing classes have to have a public default constructor!

Author:
Wim

Method Summary
 IHook getAspectInstance(MethodJoinpoint jp, IAspectInstanceCreator creator)
          Returns the aspect instance applicable at this joinpoint.
 

Method Detail

getAspectInstance

IHook getAspectInstance(MethodJoinpoint jp,
                        IAspectInstanceCreator creator)
Returns the aspect instance applicable at this joinpoint. Use the creator for instantiating new hooks if necessary.

Parameters:
jp - current joinpoint
creator - new hook creator
Returns:
the hook instance for jp