code: private void load() throws RepositoryException
     {
        //Namespaces first
        NamespaceDataPersister namespacePersister =
           (NamespaceDataPersister)this.getComponentInstanceOfType(NamespaceDataPersister.class);
        NamespaceRegistryImpl nsRegistry = (NamespaceRegistryImpl)getNamespaceRegistry();
  
        namespacePersister.start();
        nsRegistry.start();
  
        //Node types now.
        JCRNodeTypeDataPersister nodeTypePersister =
           (JCRNodeTypeDataPersister)this.getComponentInstanceOfType(JCRNodeTypeDataPersister.class);
  
        NodeTypeDataManagerImpl ntManager =
           (NodeTypeDataManagerImpl)this.getComponentInstanceOfType(NodeTypeDataManagerImpl.class);
  
        nodeTypePersister.start();
        ntManager.start();
  
     }
docs: Load namespaces and nodetypes from persistent repository.
  
  <p>
  Runs on container start.
  
  @throws RepositoryException