001/**
002 *
003 * Copyright (c) 2014, the Railo Company Ltd. All rights reserved.
004 *
005 * This library is free software; you can redistribute it and/or
006 * modify it under the terms of the GNU Lesser General Public
007 * License as published by the Free Software Foundation; either 
008 * version 2.1 of the License, or (at your option) any later version.
009 * 
010 * This library is distributed in the hope that it will be useful,
011 * but WITHOUT ANY WARRANTY; without even the implied warranty of
012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
013 * Lesser General Public License for more details.
014 * 
015 * You should have received a copy of the GNU Lesser General Public 
016 * License along with this library.  If not, see <http://www.gnu.org/licenses/>.
017 * 
018 **/
019package coldfusion.server;
020
021import java.io.File;
022import java.io.IOException;
023import java.util.Map;
024
025import javax.servlet.ServletContext;
026
027import lucee.runtime.type.scope.Scope;
028
029public interface RuntimeService extends Service {
030
031        public abstract Boolean getWhitespace();
032
033        public abstract Map getLocking();
034
035        public abstract Map getCfxtags();
036
037        public abstract Map getCustomtags();
038
039        public abstract Map getCorba();
040
041        public abstract Map getApplets();
042
043        public abstract Map getVariables();
044
045        public abstract Map getErrors();
046
047        public abstract String getScriptProtect();
048
049        public abstract void setScriptProtect(String arg0);
050
051        public abstract Map getMappings();
052
053        public abstract Map getApplications();
054
055        public abstract String getRootDir();
056
057        public abstract void setWhitespace(String arg0);
058
059        public abstract File resolveTemplateName(String arg0, String arg1);
060
061        public abstract String getFullTagName(ServletContext arg0, String arg1)
062                        throws IOException;
063
064        public abstract File resolveTemplatePath(String arg0);
065
066        public abstract String getRealPath(ServletContext arg0, String arg1);
067
068        public abstract Scope getServerScope();
069
070        public abstract String getRegistryDir();
071
072        public abstract long getSlowRequestLimit();
073
074        public abstract boolean logSlowRequests();
075
076        public abstract long getRequestTimeoutLimit();
077
078        public abstract boolean timeoutRequests();
079
080        public abstract int getNumberSimultaneousRequests();
081
082        public abstract int getNumberSimultaneousReports();
083
084        public abstract void setNumberSimultaneousReports(int arg0);
085
086        public abstract void setNumberSimultaneousRequests(int arg0);
087
088        public abstract int getMaxQueued();
089
090        public abstract void setMaxQueued(int arg0);
091
092        public abstract int getMinRequests();
093
094        public abstract void setMinRequests(int arg0);
095
096        public abstract boolean isCachePaths();
097
098        public abstract void setCachePaths(boolean arg0);
099
100        public abstract boolean isTrustedCache();
101
102        public abstract void setTrustedCache(boolean arg0);
103
104        public abstract void setTemplateCacheSize(int arg0);
105
106        public abstract int getTemplateCacheSize();
107
108        public abstract long getApplicationTimeout();
109
110        public abstract long getApplicationMaxTimeout();
111
112        public abstract boolean isApplicationEnabled();
113
114        public abstract long getSessionTimeout();
115
116        public abstract long getSessionMaxTimeout();
117
118        public abstract boolean isSessionEnabled();
119
120        public abstract boolean useJ2eeSession();
121
122        public abstract boolean isPureJavaKit();
123
124        public abstract Map getRequestSettings();
125
126        public abstract void setSaveClassFiles(boolean arg0);
127
128        public abstract boolean getSaveClassFiles();
129
130        public abstract Map getRequestThrottleSettings();
131
132        public abstract Map getFileLockSettings();
133
134        public abstract boolean isFileLockEnabled();
135
136        public abstract float getPostSizeLimit();
137
138        public abstract boolean isEnabledFlexDataServices();
139
140        public abstract void setEnableFlexDataServices(boolean arg0)
141                        throws ServiceException;
142
143        public abstract String getFlexAssemblerIPList();
144
145        public abstract void setFlexAssemblerIPList(String arg0);
146
147        public abstract boolean isEnabledFlashRemoting();
148
149        public abstract void setEnableFlashRemoting(boolean arg0);
150
151        public abstract boolean isEnabledRmiSSL();
152
153        public abstract void setEnableRmiSSL(boolean arg0) throws ServiceException;
154
155        public abstract void setKeystore(String arg0);
156
157        public abstract String getKeystore();
158
159        public abstract void setKeystorePassword(String arg0);
160
161        public abstract String getKeystorePassword();
162
163        public abstract void setDataServiceId(String arg0);
164
165        public abstract String getDataServiceId();
166
167}