Class JoynrIntegrationBean


  • public class JoynrIntegrationBean
    extends Object
    Singleton EJB which will create and keep the Joynr runtime and also shut it down when the app server shuts down as well as scan the system for all CDI beans present which are annotated with ServiceProvider and register those as joynr providers with the joynr runtime.
    • Method Detail

      • initialise

        @PostConstruct
        public void initialise()
      • subscribeToSharedSubscriptionsTopic

        public void subscribeToSharedSubscriptionsTopic()
      • destroy

        @PreDestroy
        public void destroy()
      • getJoynrInjector

        public com.google.inject.Injector getJoynrInjector()
        Can be used to get access to the Guice Injector used in the joynr application / runtime.
        Returns:
        the Guice Injector used by the joynr application if the application has already been started, or null if not.