Added pom.xml with dependency to spring-context
We go opensource! As the first commit, we add a set of interfaces on
which our event sourcing framework is based. That are interfaces
representing events, event bus, event handlers and some "handler
aware" components (intended to interact with the IoC container rather
than being used directly by code outside of the library)
Adding SimpleEventBus class being basic implementation of HasEventHandlers / EventBus interface.
Also, adding EventHandler annotation intended to be placed on methods that can handle events broadcasted by
the event bus.
Committing BroadcastPublisher class being base implementation of
HasBroadcastEventHandlers interface. This publisher works in broadcast
mode, that is, all registered parties are meant to receive event and it's
up to them to decide if they are interested in particular event or not.
Adding unit tests for AbstractEvent class mistakenly omitted in the previous commit.
Fixed test method name in SimpleEventBusTest class to better reflect test case purpose.
Added license information to AbstractEventTest class
Introduced EventHandlerAdapter responsible for registering prospective event handling methods of a certain bean and invoking appropriate
method in case of event occurred.
Introduced ThreadSafePublisher class wrapping HasBroadcastEventHandlers interface making it thread-safe (using read-write locking
mechanism).
Extracted all mock event and handler classes to separate files and moved them to org.springframework.events.mock package. Moreover, refactored all classes that declared mock events/handlers as inner classes to use the newly introduced mocks.
Introduced Spring post processor responsible for automatic detection of method-level event handlers. Any bean managed by Spring that has methods annotated with @EventHandler and accepting event type becomes registered as an event handler in the bus. Additionally, introduced interceptor class used only by post processor (package access level) that allows dynamic adapter classes to be handled by Spring AOP.
Refactored EventHandlerAdapterTest to use common mock events instead of declaring owns.
Introduced integration test for event handling mechanism. It does not use custom XML declaration to enable event handlers scanning so far.
Implemented custom XML configuration mechanism for our event sourcing framework. From now on, you can use 'events' namespace and
use "<events:annotation-config>" tag to enable event sourcing mechanism. When this tag is declared, event bus is configured under
the hood and annotation based event handler discovery mechanism is enabled.
Update README.md
Small refinement in the EventHandlingIntegrationTest - changed interface used to publish events - from now on, EventBus is the recommended
one.
Merge branch 'develop' of https://github.com/pdyraga/Spring-EventSourcing into develop
Merge branch 'develop'

Conflicts:
	README.md
Bumped up version number to 0.1-M1