001
014
015 package com.liferay.portal.util;
016
017 import java.util.Set;
018
019
023 public class CustomJspRegistryUtil {
024
025 public static String getCustomJspFileName(
026 String servletContextName, String fileName) {
027
028 return getCustomJspRegistry().getCustomJspFileName(
029 servletContextName, fileName);
030 }
031
032 public static String getDisplayName(String servletContextName) {
033 return getCustomJspRegistry().getDisplayName(servletContextName);
034 }
035
036 public static Set<String> getServletContextNames() {
037 return getCustomJspRegistry().getServletContextNames();
038 }
039
040 public static void registerServletContextName(
041 String servletContextName, String displayName) {
042
043 getCustomJspRegistry().registerServletContextName(
044 servletContextName, displayName);
045 }
046
047 public static void unregisterServletContextName(String servletContextName) {
048 getCustomJspRegistry().unregisterServletContextName(servletContextName);
049 }
050
051 public void setCustomJspRegistry(CustomJspRegistry customJspRegistry) {
052 _customJspRegistry = customJspRegistry;
053 }
054
055 public static CustomJspRegistry getCustomJspRegistry() {
056 return _customJspRegistry;
057 }
058
059 private static CustomJspRegistry _customJspRegistry;
060
061 }