@Service public class WebOSGiComponentsInitializer extends Object implements CustomInitializer
CommunoteBundleListener
s found in the web-application context to the
OSGiManagement
. Also registers the location of the web specific osgi.properties.Constructor and Description |
---|
WebOSGiComponentsInitializer() |
Modifier and Type | Method and Description |
---|---|
void |
beanInitialized()
Starts the Framework.
|
Collection<CommunoteBundleListener> |
getListeners() |
void |
initialize()
Do additional initializations.
|
void |
setListeners(Collection<CommunoteBundleListener> listener) |
@PostConstruct public void beanInitialized()
public Collection<CommunoteBundleListener> getListeners()
public void initialize()
CustomInitializer
ApplicationInitializationException
should be thrown.initialize
in interface CustomInitializer
public void setListeners(Collection<CommunoteBundleListener> listener)
listener
- List of listeners.Copyright © 2019 Communote team. All rights reserved.