FileDocCategorySizeDatePackage
TemplateResolver.javaAPI DocGlassfish v2 API2957Fri May 04 22:30:36 BST 2007com.sun.appserv.management.config

TemplateResolver

public interface TemplateResolver
Interface implemented by MBeans which can resolve a template String to a value. Template strings are of the form ${XYZ} and are returned as the values of certain Attributes.

Fields Summary
Constructors Summary
Methods Summary
public booleanisTemplateString(java.lang.String s)
If the String is a template, return true. A template String is a String of the form ${XYZ}.

param
s
return
true if the String is template String, false otherwise.

public java.lang.StringresolveTemplateString(java.lang.String template)
If the String is a template, resolve it. If it is a template, but cannot be resolved, return it unchanged.

If the String is not a template, return it unchanged.

param
template a template String
return
resolved value