|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.osgi.extender.support.ApplicationContextConfiguration
public class ApplicationContextConfiguration
Configuration class for Spring-DM application contexts. Determines the configuration information available in a bundle for constructing an application context. Reads all the Spring-DM options present in the bundle header.
Constructor Summary | |
---|---|
ApplicationContextConfiguration(Bundle bundle)
Constructs a new ApplicationContextConfiguration instance
from the given bundle. |
|
ApplicationContextConfiguration(Bundle bundle,
ConfigurationScanner configurationScanner)
|
Method Summary | |
---|---|
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 |
isWaitForDependencies()
Indicates if the configuration must wait for dependencies. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ApplicationContextConfiguration(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(Bundle bundle, ConfigurationScanner configurationScanner)
Method Detail |
---|
public boolean isSpringPoweredBundle()
public long getTimeout()
public boolean isCreateAsynchronously()
public boolean isPublishContextAsService()
public boolean isWaitForDependencies()
public String[] getConfigurationLocations()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |