Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.slide.common
Class EmbeddedDomain  view EmbeddedDomain download EmbeddedDomain.java

java.lang.Object
  extended byorg.apache.slide.common.EmbeddedDomain

public class EmbeddedDomain
extends java.lang.Object

Alternate domain designed to ease embedding.

Version:
$Revision: 1.12 $

Field Summary
private  java.lang.String defaultNamespace
          Default namespace.
private  java.lang.String name
          Namespace name.
private  java.util.Hashtable namespaces
          Namespaces hashtable.
 
Constructor Summary
EmbeddedDomain()
          Default constructor.
 
Method Summary
 Namespace addNamespace(java.lang.String name, org.apache.slide.util.logger.Logger logger, org.apache.slide.util.conf.Configuration definition, org.apache.slide.util.conf.Configuration configuration, org.apache.slide.util.conf.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.
 org.apache.slide.util.logger.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(org.apache.slide.util.logger.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
 

Field Detail

namespaces

private java.util.Hashtable namespaces
Namespaces hashtable.


defaultNamespace

private java.lang.String defaultNamespace
Default namespace.


name

private java.lang.String name
Namespace name.

Constructor Detail

EmbeddedDomain

public EmbeddedDomain()
Default constructor.

Method Detail

setName

public void setName(java.lang.String name)
Sets the qualified name of the namespace.


getName

public java.lang.String getName()
Gets the qulified name of the namespace.


getDefaultNamespace

public java.lang.String getDefaultNamespace()
Return the default namespace of this domain.


setDefaultNamespace

public void setDefaultNamespace(java.lang.String defaultNamespace)
Set the default namespace of this domain.


setLogger

public void setLogger(org.apache.slide.util.logger.Logger logger)
Deprecated. Use the namespace loggers instead

Set the logger to be used by Slide.


getLogger

public org.apache.slide.util.logger.Logger getLogger()
Deprecated. Use the namespace loggers instead

Get the Domain logger.


getNamespaceToken

public NamespaceAccessToken getNamespaceToken(java.lang.String namespaceName)
Access a Namespace.


enumerateNamespaces

public java.util.Enumeration enumerateNamespaces()
Enumerate namespace names.


addNamespace

public Namespace addNamespace(java.lang.String name,
                              org.apache.slide.util.logger.Logger logger,
                              org.apache.slide.util.conf.Configuration definition,
                              org.apache.slide.util.conf.Configuration configuration,
                              org.apache.slide.util.conf.Configuration baseData)
Add a namespace to this domain.


removeNamespace

public Namespace removeNamespace(java.lang.String name)
Clsose a namespace.


getNamespace

public Namespace getNamespace(java.lang.String name)
Get a namespace.


setParameters

public void setParameters(java.util.Hashtable parameters)
Set the specified parameters


start

public void start()
           throws java.lang.Exception
Start domain (doesn't do anything yet).


stop

public void stop()
          throws java.lang.Exception
Stop domain.


toString

public java.lang.String toString()
Get a String representation of this domain.