|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.activemath.author.toc.SubconfigurationMaker
public class SubconfigurationMaker
A class to create properties required to run an applet with the help of SubconfImpl.PropertiesConfig.
| Constructor Summary | |
|---|---|
SubconfigurationMaker(String name)
|
|
| Method Summary | |
|---|---|
void |
addCookiesForAuthentication(HttpServletRequest request)
Adds all cookies as cookies. |
void |
addMBaseRefService(String url)
Inserts the properties used to build an MBaseRef
service assuming an OJXmlRpcMBaseRef will be
constructed here. |
void |
addProperty(String name,
String value)
Adds a property. |
void |
addUserModelService()
Not implemented yet... should provide the coordinates to the user-model |
void |
declareServiceWithSubconf(String servicePrefix,
String interfaceName,
String className,
String configPrefix)
Declares the service to be constructed with a Subconfiguration leaving undone the
property subtree defined by configPrefix used to construct the Subconfiguration handed to the constructor. |
Properties |
getProperties()
Returns the properties being constructed. |
void |
output(OutputStream outStream)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SubconfigurationMaker(String name)
| Method Detail |
|---|
public void output(OutputStream outStream)
throws IOException
IOException
public void declareServiceWithSubconf(String servicePrefix,
String interfaceName,
String className,
String configPrefix)
Subconfiguration leaving undone the
property subtree defined by configPrefix used to construct the Subconfiguration handed to the constructor.
servicePrefix - The xx used for service.xxinterfaceName - The service interface nameclassName - The class-name to be created.configPrefix - The prefix from which to create a Subconfiguration provided to
the constructor.public Properties getProperties()
public void addProperty(String name,
String value)
name - THe name (or key) of the propertyvalue - The value of the property.public void addCookiesForAuthentication(HttpServletRequest request)
cookies.<name> for each name as property values.
public void addMBaseRefService(String url)
MBaseRef
service assuming an OJXmlRpcMBaseRef will be
constructed here.
url - the url to be used by the OJXmlRpcMBaseRefpublic void addUserModelService()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||