org.apache.myfaces.extensions.cdi.scripting.api
Interface LanguageManager

All Superinterfaces:
Serializable

public interface LanguageManager
extends Serializable

A language manager returns the name for the script-engine for a given type-safe language key


Method Summary
 String getLanguageName(Class<? extends Language> languageType)
          Calculates the script-language-name for the given Language definition.
 

Method Detail

getLanguageName

String getLanguageName(Class<? extends Language> languageType)
Calculates the script-language-name for the given Language definition. The name will be used for the ScriptEngineManager.getEngineByName(java.lang.String)

Parameters:
languageType - language-type which will be mapped to the name of the language
Returns:
name of the script-language


Copyright © 2010-2011 The Apache Software Foundation. All Rights Reserved.