public abstract class XStreamSecurityTypeUtility extends Object
ApplicationContext for auto-configuration base
packages.| Modifier and Type | Method and Description |
|---|---|
static String[] |
autoConfigBasePackages(org.springframework.context.ApplicationContext applicationContext)
Retrieves the auto-configuration base packages from
AutoConfigurationPackages.get(BeanFactory). |
public static String[] autoConfigBasePackages(org.springframework.context.ApplicationContext applicationContext)
AutoConfigurationPackages.get(BeanFactory). These can
be used to define the security context of an XStream instance.
This method will return the package names of the EnableAutoConfiguration
annotated beans. After retrieval this method attaches a wildcard (".**") to the packages for XStream's
convenience.
applicationContext - the ApplicationContext to retrieve the auto-configuration base packages from".**" appended to themCopyright © 2010–2023. All rights reserved.