public class NamespaceComponents extends Object
| Constructor and Description |
|---|
NamespaceComponents()
This class should not be instantiated through this constructor, it is
only here to allow construction by the
XmlObjectFactory. |
| Modifier and Type | Method and Description |
|---|---|
void |
addComponent(Component component)
Adds a new component to this namespace registry.
|
void |
discover()
Discovers all namespaces found on the classpath.
|
String |
getPath()
Gets the path to the namespace registry descriptor.
|
static NamespaceComponents |
instance()
Gets the shared instance of this registry.
|
void |
setPath(String path)
Sets the path to the namespace registry descriptor.
|
void |
shutdown()
Shuts down this component registry and reclaims any resources used.
|
public NamespaceComponents()
XmlObjectFactory. The
instance of this class should be retrieved through the call to
instance().public static final NamespaceComponents instance()
public void discover()
public String getPath()
public void setPath(String path)
path - The path to a namespace registry descriptor.public void addComponent(Component component)
component - the component to add to this namespace registry.public void shutdown()
Copyright © 2003–2014 AndroMDA.org. All rights reserved.