org.springframework.osgi.web.deployer
Interface ContextPathStrategy

All Known Implementing Classes:
DefaultContextPathStrategy

public interface ContextPathStrategy

Strategy interface that encapsulates the creation of WARs context path.

Author:
Costin Leau
See Also:
Bundle

Method Summary
 String getContextPath(Bundle bundle)
          Obtains the context path for the given OSGi bundle.
 

Method Detail

getContextPath

String getContextPath(Bundle bundle)
Obtains the context path for the given OSGi bundle. The returned String should be not null and should not contain any spaces.

Parameters:
bundle - OSGi bundle deployed as war
Returns:
the not-null context path (without any spaces) associated with the given bundle


Copyright © 2006-2009 Spring Framework. All Rights Reserved.