jason.service.http1_0
Class ComponentFactory
java.lang.Object
|
+--jason.service.http1_0.ComponentFactory
- public class ComponentFactory
- extends java.lang.Object
Abstract factory for the Server component. Each main element of the AWS server is provided by this class. It
hides how the element are found. Singleton mecanism is used for minimized element allocation.
To work correctly, the ComponentFactory need to know how to instantiate each element. The Server Config is a
configuration element that provides information for this factory.
- Since:
- 1.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ComponentFactory
public ComponentFactory(Service service)
throws ConfigException
- Parameters:
service
- the Service
- Throws:
ConfigException
- if an error occurs
loadComponents
protected void loadComponents()
throws ConfigException
ConfigException
getMimeType
public java.lang.String getMimeType(java.lang.String ext)
getDocFactory
public IntDocFactory getDocFactory()
getCache
public Cache getCache()
getLog
public Log getLog()
getHtMime
public java.util.Hashtable getHtMime()
getPort
public int getPort()
getSource
public java.lang.String getSource()
getMainPage
public java.lang.String getMainPage()
getErrorPage
public java.lang.String getErrorPage()
getBuilding
public java.util.Vector getBuilding()
getDisabled
public java.util.Vector getDisabled()
getCgiJava
public java.util.Vector getCgiJava()
getCgiBin
public java.util.Vector getCgiBin()
getMapping
public java.lang.String getMapping(java.lang.String path)