Added VaadinApplicationContext

Added VaadinApplicationContext to allow access to ApplicationContext and EventBus from non-managed spring beans within a Vaadin Application.

Example Usage: EventBus eventBus = VaadinApplicationContext.getEventBus();
JavaDoc has been added.

On Mon, Dec 22, 2014 at 11:21 AM, G.J.R. Timmer <gjr.timmer@gmail.com>
wrote:

> Hi Petter,
>
> Sorry was JavaDoc indeed forgotten, will add them as soon as possible.
>
> With regards,
> Gert-Jan
>
> On Mon, Dec 22, 2014 at 8:39 AM, Petter Holmström <
> notifications@github.com> wrote:
>
>> In
>> spring-vaadin/src/main/java/org/vaadin/spring/context/VaadinApplicationContext.java
>> <https://github.com/peholmst/vaadin4spring/pull/103#discussion-diff-22156647>
>> :
>>
>> > @@ -0,0 +1,37 @@
>> > +package org.vaadin.spring.context;
>> > +
>> > +import org.slf4j.Logger;
>> > +import org.slf4j.LoggerFactory;
>> > +import org.springframework.beans.BeansException;
>> > +import org.springframework.beans.factory.InitializingBean;
>> > +import org.springframework.context.ApplicationContext;
>> > +import org.springframework.context.ApplicationContextAware;
>> > +import org.vaadin.spring.events.EventBus;
>> > +
>> > +
>> > +public class VaadinApplicationContext implements InitializingBean, ApplicationContextAware {
>>
>> Please add JavaDocs.
>>
>> —
>> Reply to this email directly or view it on GitHub
>> <https://github.com/peholmst/vaadin4spring/pull/103/files#r22156647>.
>>
>
>