Overview | Package | Class | Tree | Deprecated | Index | Help
| J2EE1.4 SDK
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.sun.appserv.management.config
Interface TemplateResolver

All Known Subinterfaces:
  ClusteredServerConfig, ServerConfig, StandaloneServerConfig

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.

Method Summary
`boolean` | `isTemplateString(java.lang.String s)` If the String is a template, return true.
`java.lang.String` | `resolveTemplateString(java.lang.String template)` If the String is a template, resolve it.

Method Detail

### isTemplateString

    public boolean isTemplateString(java.lang.String s)

  If the String is a template, return true. A template String is a String of the form ${XYZ}.

  Parameters:
    `s` -
  Returns:
    true if the String is template String, false otherwise.

### resolveTemplateString

    public java.lang.String resolveTemplateString(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.

  Parameters:
    `template` - a template String
  Returns:
    resolved value

Overview | Package | Class | Tree | Deprecated | Index | Help
| J2EE1.4 SDK
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Submit a bug or feature

Copyright 2003 Sun Microsystems, Inc. All rights reserved.