|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.slide.common.EmbeddedDomain
Alternate domain designed to ease embedding.
| Constructor Summary | |
EmbeddedDomain()
Default constructor. |
|
| Method Summary | |
Namespace |
addNamespace(java.lang.String name,
Logger logger,
Configuration definition,
Configuration configuration,
Configuration baseData)
Add a namespace to this domain. |
java.util.Enumeration |
enumerateNamespaces()
Enumerate namespace names. |
java.lang.String |
getDefaultNamespace()
Return the default namespace of this domain. |
Logger |
getLogger()
Deprecated. Use the namespace loggers instead |
java.lang.String |
getName()
Gets the qulified name of the namespace. |
Namespace |
getNamespace(java.lang.String name)
Get a namespace. |
NamespaceAccessToken |
getNamespaceToken(java.lang.String namespaceName)
Access a Namespace. |
Namespace |
removeNamespace(java.lang.String name)
Clsose a namespace. |
void |
setDefaultNamespace(java.lang.String defaultNamespace)
Set the default namespace of this domain. |
void |
setLogger(Logger logger)
Deprecated. Use the namespace loggers instead |
void |
setName(java.lang.String name)
Sets the qualified name of the namespace. |
void |
setParameters(java.util.Hashtable parameters)
Set the specified parameters |
void |
start()
Start domain (doesn't do anything yet). |
void |
stop()
Stop domain. |
java.lang.String |
toString()
Get a String representation of this domain. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public EmbeddedDomain()
| Method Detail |
public void setName(java.lang.String name)
name - Name of the namespacepublic java.lang.String getName()
public java.lang.String getDefaultNamespace()
public void setDefaultNamespace(java.lang.String defaultNamespace)
defaultNamespace - New default namespace namepublic void setLogger(Logger logger)
logger - Logger the domain will usepublic Logger getLogger()
public NamespaceAccessToken getNamespaceToken(java.lang.String namespaceName)
namespaceName - Name of the namespace on which access is requested
public java.util.Enumeration enumerateNamespaces()
public Namespace addNamespace(java.lang.String name,
Logger logger,
Configuration definition,
Configuration configuration,
Configuration baseData)
name - Namespace namelogger - Namespace loggerdefinition - Input stream to the namepace definitionconfiguration - Input stream to the namespace configurationbaseData - Input stream to the anmespace base datapublic Namespace removeNamespace(java.lang.String name)
name - Name of the namespacepublic Namespace getNamespace(java.lang.String name)
name - Name of the namespace
public void setParameters(java.util.Hashtable parameters)
parameters - the parameters
public void start()
throws java.lang.Exception
java.lang.Exception
public void stop()
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||