adplus-dvertising
frame-decoration

Question

When the bundle begins to load and start, it calls the start method of the:-

a.

BundleActivator

b.

Activator

c.

All of the mentioned

d.

None of the mentioned

Posted under Java Spring Framework

Answer: (b).Activator

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. When the bundle begins to load and start, it calls the start method of the:-

Similar Questions

Discover Related MCQs

Q. To start using Spring to smooth over some of the minutiae of resource acquisition and to help build more reliable systems in an OSGi environment.

Q. Spring Dynamic Modules scans our deployed bundles and loads an ApplicationContext (actually, the specific type of the ApplicationContext is OsgiBundleXmlApplicationContext) into memory based on an event, or a trigger.

Q. You’ll split your OSGi–specific Spring configuration and your plain-vanilla Spring configuration into:-

Q. To create services and have those automatically installed in the registry.

Q. Element to export the bean as an OSGi service, classified by the interface we specify.

Q. An anonymous bean specified inside of the osgi:service element allows you to avoid cluttering the namespace.

Q. The first, most direct connection to OSGi is the bean that’s created on your behalf when you export a service. This bean, an instance of:-

Q. By default, beans created in a Spring application context are global to the entire OSGi runtime.

Q. Sometimes, you may want to limit the visibility of a service so that multiple clients each get their own instance of the bean.

Q. Spring Dynamic Modules also supports injection and manipulation of bundles themselves. An injected bundle is of type:-

Q. Once acquired, the Bundle can be interrogated to introspect information about the bundle itself, including any entries, its current state.

Q. OSGi will let you maintain multiple versions of a service in your registry at the same time.

Q. Multiple services of the same interface may be registered inside of an OSGi environment, which necessitates a conflict-resolution process.

Q. When specified on a service element, allows the ascription of a rank relative to other beans with the same interface.

Q. A more robust solution to service discrimination is service attributes.

Q. There are frequently situations where OSGi will return more than one instance of a service that satisfies the interface.

Q. Attribute, which, is the symbolic name of another bundle.

Q. Support for deployment of traditional .war artifacts, enable use of some of the standard Java EE libraries, provide useful defaults for many de facto standard libraries, and provide fully integrated support for Spring Dynamic Modules.

Q. OSGi doesn’t solve framework concerns, instead focusing on infrastructure requirements for Java applications.

Q. Spring Dynamic Modules was, while powerful for those already invested in an OSGi platform, not the most natural accommodations for those trying to migrate large code into the OSGi environment, SpringSource created.