public class ApplicationContextConfiguration extends Object
Constructor and Description |
---|
ApplicationContextConfiguration(org.osgi.framework.Bundle bundle)
Constructs a new
ApplicationContextConfiguration instance from the given bundle. |
ApplicationContextConfiguration(org.osgi.framework.Bundle bundle,
ConfigurationScanner configurationScanner) |
Modifier and Type | Method and Description |
---|---|
String[] |
getConfigurationLocations()
Returns the locations of the configuration resources used to build the application context (as Spring resource
paths).
|
long |
getTimeout()
Returns the timeout (in milliseconds) an application context needs to wait for mandatory dependent services.
|
boolean |
isCreateAsynchronously()
Indicates if an application context needs to be created asynchronously or not.
|
boolean |
isPublishContextAsService()
Indicates if the application context needs to be published as a service or not.
|
boolean |
isSpringPoweredBundle()
Indicates if the given bundle is "Spring-Powered" or not.
|
boolean |
isTimeoutDeclared() |
boolean |
isWaitForDependencies()
Indicates if the configuration must wait for dependencies.
|
String |
toString() |
public ApplicationContextConfiguration(org.osgi.framework.Bundle bundle)
ApplicationContextConfiguration
instance from the given bundle. Uses the
DefaultConfigurationScanner
internally for discovering Spring-powered bundles.bundle
- bundle for which the application context configuration is createdpublic ApplicationContextConfiguration(org.osgi.framework.Bundle bundle, ConfigurationScanner configurationScanner)
public boolean isSpringPoweredBundle()
public boolean isTimeoutDeclared()
public long getTimeout()
public boolean isCreateAsynchronously()
public boolean isPublishContextAsService()
public boolean isWaitForDependencies()
public String[] getConfigurationLocations()
Copyright © 2006–2019. All rights reserved.