1 23 24 29 30 package com.sun.enterprise.config.impl; 31 32 import com.sun.enterprise.config.pluggable.ConfigBeansSettings; 33 37 public class ConfigBeansSettingsImpl implements ConfigBeansSettings { 38 39 private static final String PROPERTY = "property"; 40 private static final String ELEMENT_PROPERTY = "element-property"; 41 42 private static final String DESCRIPTION = "description"; 43 44 45 46 public ConfigBeansSettingsImpl() { 47 } 48 49 55 public String mapElementName(String originalName) { 56 if(originalName.equals(PROPERTY)) { 57 return ELEMENT_PROPERTY; 58 } 59 60 return originalName; 61 62 } 63 64 public boolean isSpecialElement(String name) { 65 if(DESCRIPTION.equals(name)) 66 return true; 67 return false; 68 } 69 } 70 | Popular Tags |