org.constretto.spring.internal.resolver
Class DefaultAssemblyContextResolver
java.lang.Object
org.constretto.spring.internal.resolver.DefaultAssemblyContextResolver
- All Implemented Interfaces:
- AssemblyContextResolver
public class DefaultAssemblyContextResolver
- extends Object
- implements AssemblyContextResolver
Provides the default assembly environment resolving strategy which is used if no other implementation found in the
current sprint context.
It looks for a system property called ASSEMBLY_ENV, and if that is not found tries to find the variable in the system
environment.
If no system property or system environment variable found, it default to Enviroment.DEVELOPMENT.
- Author:
- Kaare Nilsen
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ASSEMBLY_KEY
public static final String ASSEMBLY_KEY
- See Also:
- Constant Field Values
DefaultAssemblyContextResolver
public DefaultAssemblyContextResolver()
getAssemblyContext
public List<String> getAssemblyContext()
- Specified by:
getAssemblyContext in interface AssemblyContextResolver
Copyright © 2008-2012. All Rights Reserved.