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
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 joinpointcreator
- new hook creator
- Returns:
- the hook instance for jp