xdrs_impl.mysql
Class ServiceImpl

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

public class ServiceImpl
extends GenericXDirectoryService
implements XDirectoryService

This XDRS implementation that uses MySql database.

Version:
$Revision: 1.1 $ $Date: 2005/05/06 21:31:07 $ (GMT)
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 loadDriver()
          Load the default MySQL JDBC driver.
protected  java.sql.Connection openConnection()
           
 
Methods inherited from class xdrs_impl.genericdb.GenericXDirectoryService
addDNForUser, addGroupToSuperGroup, addNode, addUsersToGroup, addUserToGroup, checkReadAccess, closeConnection, 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 MySQL 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