xdrs_impl.hsqldb
Class ServiceImpl

java.lang.Object
  extended bysoaprmi.server.RemoteObject
      extended byxdrs_impl.genericdb.GenericXDirectoryService
          extended byxdrs_impl.hsqldb.ServiceImpl
All Implemented Interfaces:
NodeAuthorization, javax.naming.Referenceable, soaprmi.Remote, soaprmi.server.RemoteRef, UserManagement, XDirectoryService

public class ServiceImpl
extends GenericXDirectoryService
implements XDirectoryService

Author:
Matt

Field Summary
 
Fields inherited from class soaprmi.server.RemoteObject
port
 
Fields inherited from interface xdrs.XDirectoryService
NAMESPACE, ROOT
 
Fields inherited from interface xdrs.authorization.NodeAuthorization
ADMIN, EVERYBODY, NOBODY
 
Constructor Summary
ServiceImpl()
           
 
Method Summary
protected  void closeConnection(java.sql.Connection connection)
           
protected  void loadDriver()
          Load the default HSQL JDBC driver.
protected  java.sql.Connection openConnection()
           
 
Methods inherited from class xdrs_impl.genericdb.GenericXDirectoryService
addDNForUser, addGroupToSuperGroup, addNode, addUsersToGroup, addUserToGroup, checkReadAccess, copyNodes, createUser, deleteAllDNsForUser, deleteDNForUser, deleteGroup, deleteGroups, deleteNodes, deleteUser, deleteUsers, getChildrenWithoutHtml, getGroups, getNode, getNodeHtml, getUserForDN, isAuthorized, keywordSearch, listGroups, listSubGroupsOfGroup, listUsers, listUsersOfGroup, modifyNode, moveNodes, removeGroupFromSuperGroup, removeUserFromGroup, removeUsersFromGroup, setPermissions
 
Methods inherited from class soaprmi.server.RemoteObject
equals, getReference, getSoapRMIPort, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface xdrs.XDirectoryService
addNode, copyNodes, deleteNodes, getChildrenWithoutHtml, getNode, getNodeHtml, keywordSearch, modifyNode, moveNodes
 
Methods inherited from interface xdrs.authorization.NodeAuthorization
setPermissions
 
Methods inherited from interface xdrs.authorization.UserManagement
addDNForUser, addGroupToSuperGroup, addUsersToGroup, addUserToGroup, createUser, deleteAllDNsForUser, deleteDNForUser, deleteGroup, deleteGroups, deleteUser, deleteUsers, getGroups, getUserForDN, listGroups, listSubGroupsOfGroup, listUsers, listUsersOfGroup, removeGroupFromSuperGroup, removeUserFromGroup, removeUsersFromGroup
 

Constructor Detail

ServiceImpl

public ServiceImpl()
            throws java.sql.SQLException,
                   java.lang.InstantiationException,
                   java.lang.IllegalAccessException,
                   java.lang.ClassNotFoundException,
                   org.gjt.xpp.XmlPullParserException,
                   soaprmi.RemoteException
Method Detail

loadDriver

protected void loadDriver()
                   throws java.lang.InstantiationException,
                          java.lang.IllegalAccessException,
                          java.lang.ClassNotFoundException
Load the default HSQL JDBC driver.

Specified by:
loadDriver in class GenericXDirectoryService
Throws:
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.ClassNotFoundException

openConnection

protected java.sql.Connection openConnection()
                                      throws java.sql.SQLException
Specified by:
openConnection in class GenericXDirectoryService
Throws:
java.sql.SQLException

closeConnection

protected void closeConnection(java.sql.Connection connection)
                        throws java.sql.SQLException
Overrides:
closeConnection in class GenericXDirectoryService
Throws:
java.sql.SQLException