com.hp.hpl.deli
Class Workspace
java.lang.Object
com.hp.hpl.deli.Workspace
- All Implemented Interfaces:
- java.io.Serializable
- public class Workspace
- extends java.lang.Object
- implements java.io.Serializable
This class provides a workspace for a specific CC/PP implementation.
The constructor configures the workspace using a properties
file. This allows it to support a specific protocol and vocabulary
such as UAProf.
- Author:
- Mark H. Butler (mark-h_butler@hp.com)
- See Also:
- Serialized Form
Method Summary |
void |
configure(javax.servlet.ServletContext sc,
java.lang.String filename)
This method processes the configuration file and constructs
the vocabulary, profile cache and local profiles objects. |
static Workspace |
getInstance()
|
static java.lang.String |
getPath()
|
static void |
setInstance(Workspace w)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
deliVersionNumber
public static java.lang.String deliVersionNumber
Workspace
public Workspace()
getInstance
public static Workspace getInstance()
setInstance
public static void setInstance(Workspace w)
configure
public void configure(javax.servlet.ServletContext sc,
java.lang.String filename)
throws javax.xml.parsers.ParserConfigurationException
- This method processes the configuration file and constructs
the vocabulary, profile cache and local profiles objects.
- Parameters:
sc
- The servlet context.filename
- The filename of the configuration file.
- Throws:
javax.xml.parsers.ParserConfigurationException
getPath
public static java.lang.String getPath()