More Related Content
Similar to Introduction to OSGi and Nakamura Services (20)
Introduction to OSGi and Nakamura Services
- 2. OSGi™- The Dynamic Module System for Java™ what exactly is... 12th Sakai Conference – Los Angeles, California – June 14-16
- 17. Show me the details! 12th Sakai Conference – Los Angeles, California – June 14-16 Enough with the chatter...
- 22. 12th Sakai Conference – Los Angeles, California – June 14-16 Component Execution @Activate protected void activate(ComponentContext cc) { } protected void activate(BundleContext bc) { } protected void activate(Map props) { } protected void activate(BundleContext b, ComponentContext c, Map props) { } @Modified protected void modified(...) {} @Deactivate protected void deactivate(...) {} protected void deactivate(int reasonCode) {} // OSGi R4 Spec 112.5.8
- 23. 12th Sakai Conference – Los Angeles, California – June 14-16 Defining a Service // implement interfaces, provide services
- 26. 12th Sakai Conference – Los Angeles, California – June 14-16 Configuring a Service org.sakaiproject.nakamura.auth.cas.CasAuthenticationHandler.cfg
- 41. 12th Sakai Conference – Los Angeles, California – June 14-16 Service Reference //default reference settings //optional reference
- 42. 12th Sakai Conference – Los Angeles, California – June 14-16 Service References //optional reference, multiple services