Interface EventFactory

All Known Implementing Classes:
DefaultEventFactory

public interface EventFactory
Used by StateMachineProxyBuilder to create Event objects when methods are invoked on the proxy.
  • Method Summary

    Modifier and Type
    Method
    Description
    create(StateContext context, Method method, Object[] arguments)
    Creates a new Event from the specified method and method arguments.
  • Method Details

    • create

      Event create(StateContext context, Method method, Object[] arguments)
      Creates a new Event from the specified method and method arguments.
      Parameters:
      context - the current StateContext.
      method - the method being invoked.
      arguments - the method arguments.
      Returns:
      the Event object.