tigase.db
Class RepositoryFactory

java.lang.Object
  extended by tigase.db.RepositoryFactory

public class RepositoryFactory
extends Object

Describe class RepositoryFactory here. Created: Tue Oct 24 22:13:52 2006

Version:
$Rev: 1672 $
Author:
Artur Hefczyc

Constructor Summary
RepositoryFactory()
           
 
Method Summary
static UserAuthRepository getAuthRepository(String comp_name, String class_name, String resource, Map<String,String> params)
           
static String getRepoClass(String repo_name)
           
static UserRepository getUserRepository(String comp_name, String class_name, String resource, Map<String,String> params)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RepositoryFactory

public RepositoryFactory()
Method Detail

getRepoClass

public static String getRepoClass(String repo_name)

getUserRepository

public static UserRepository getUserRepository(String comp_name,
                                               String class_name,
                                               String resource,
                                               Map<String,String> params)
                                        throws ClassNotFoundException,
                                               InstantiationException,
                                               IllegalAccessException,
                                               DBInitException
Throws:
ClassNotFoundException
InstantiationException
IllegalAccessException
DBInitException

getAuthRepository

public static UserAuthRepository getAuthRepository(String comp_name,
                                                   String class_name,
                                                   String resource,
                                                   Map<String,String> params)
                                            throws ClassNotFoundException,
                                                   InstantiationException,
                                                   IllegalAccessException,
                                                   DBInitException
Throws:
ClassNotFoundException
InstantiationException
IllegalAccessException
DBInitException


Copyright © 2001-2006 Tigase Developers Team. All rights Reserved.