Class RepositoryFactory
java.lang.Object
tigase.db.RepositoryFactory
Deprecated.
Describe class RepositoryFactory here.
Created: Tue Oct 24 22:13:52 2006
Created: Tue Oct 24 22:13:52 2006
- Author:
- Artur Hefczyc
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final intDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final intDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final intDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.Default MS SQL Server JDBC classstatic final StringDeprecated.Default MS SQL Server JDBC connection stringstatic final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final intDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AuthRepositoryDeprecated.static DataRepositoryDeprecated.static StringgetRepoClass(String repo_name) Deprecated.static <T extends Class<? extends Repository>>
TgetRepoClass(T cls, String uri) Deprecated.Method returns class which would be by default used as implementation of classstatic StringgetRepoClassName(Class cls, String uri) Deprecated.Returns name of class which would be used as repository implementationstatic UserRepositoryDeprecated.
-
Field Details
-
AUTH_DOMAIN_POOL_CLASS
-
AUTH_DOMAIN_POOL_CLASS_PROP_KEY
-
AUTH_DOMAIN_POOL_CLASS_PROP_VAL
-
AUTH_REPO_CLASS_PROP_KEY
-
AUTH_REPO_CLASS_PROP_VAL
-
AUTH_REPO_DOMAINS_PROP_KEY
-
AUTH_REPO_PARAMS_NODE
-
AUTH_REPO_POOL_CLASS
-
AUTH_REPO_POOL_CLASS_PROP_DEF
-
AUTH_REPO_POOL_CLASS_PROP_KEY
-
AUTH_REPO_POOL_CLASS_PROP_VAL
Deprecated. -
AUTH_REPO_POOL_SIZE
-
AUTH_REPO_POOL_SIZE_PROP_KEY
-
REPO_POOL_SIZE_FACTOR_PROP_VAL
public static final int REPO_POOL_SIZE_FACTOR_PROP_VALDeprecated.- See Also:
-
AUTH_REPO_POOL_SIZE_PROP_VAL
public static final int AUTH_REPO_POOL_SIZE_PROP_VALDeprecated. -
AUTH_REPO_URL_PROP_KEY
-
DATA_REPO_CLASS_PROP_KEY
-
DATA_REPO_CLASS_PROP_VAL
-
DATA_REPO_POOL_CLASS_PROP_KEY
-
DATA_REPO_POOL_CLASS_PROP_VAL
-
DATA_REPO_POOL_SIZE
-
DATA_REPO_POOL_SIZE_PROP_KEY
-
DATA_REPO_POOL_SIZE_PROP_VAL
public static final int DATA_REPO_POOL_SIZE_PROP_VALDeprecated. -
DERBY_REPO_CLASS_PROP_VAL
-
DERBY_REPO_URL_PROP_VAL
-
DRUPAL_REPO_URL_PROP_VAL
-
DRUPALWP_REPO_CLASS_PROP_VAL
-
DUMMY_REPO_CLASS_PROP_VAL
-
GEN_AUTH_DB
-
GEN_AUTH_DB_URI
-
GEN_USER_DB_PROP_KEY
-
GEN_USER_DB
-
GEN_USER_DB_URI_PROP_KEY
-
GEN_USER_DB_URI
-
LIBRESOURCE_REPO_CLASS_PROP_VAL
-
LIBRESOURCE_REPO_URL_PROP_VAL
-
SQLSERVER_REPO_CLASS_PROP_VAL
Deprecated.Default MS SQL Server JDBC class- See Also:
-
SQLSERVER_REPO_URL_PROP_VAL
Deprecated.Default MS SQL Server JDBC connection string- See Also:
-
MYSQL_REPO_CLASS_PROP_VAL
-
MYSQL_REPO_URL_PROP_VAL
-
PGSQL_REPO_CLASS_PROP_VAL
-
PGSQL_REPO_URL_PROP_VAL
-
SHARED_AUTH_REPO_PARAMS_PROP_KEY
-
SHARED_AUTH_REPO_PROP_KEY
-
SHARED_USER_REPO_PARAMS_PROP_KEY
-
SHARED_USER_REPO_PROP_KEY
-
TIGASE_AUTH_REPO_CLASS_PROP_VAL
-
TIGASE_AUTH_REPO_URL_PROP_VAL
-
TIGASE_CUSTOM_AUTH_REPO_CLASS_PROP_VAL
-
USER_DOMAIN_POOL_CLASS
-
USER_DOMAIN_POOL_CLASS_PROP_KEY
-
USER_DOMAIN_POOL_CLASS_PROP_VAL
-
USER_REPO_CLASS_PROP_KEY
-
USER_REPO_CLASS_PROP_VAL
-
USER_REPO_DOMAINS_PROP_KEY
-
USER_REPO_PARAMS_NODE
-
USER_REPO_POOL_CLASS
-
USER_REPO_POOL_CLASS_PROP_DEF
-
USER_REPO_POOL_CLASS_PROP_KEY
-
USER_REPO_POOL_CLASS_PROP_VAL
Deprecated. -
USER_REPO_POOL_SIZE
-
USER_REPO_POOL_SIZE_PROP_KEY
-
USER_REPO_POOL_SIZE_PROP_VAL
public static final int USER_REPO_POOL_SIZE_PROP_VALDeprecated. -
USER_REPO_URL_PROP_KEY
-
XML_REPO_CLASS_PROP_VAL
-
XML_REPO_URL_PROP_VAL
-
DATABASE_TYPE_PROP_KEY
-
-
Constructor Details
-
RepositoryFactory
public RepositoryFactory()Deprecated.
-
-
Method Details
-
getAuthRepository
public static AuthRepository getAuthRepository(String class_name, String resource, Map<String, String> params) throws ClassNotFoundException, InstantiationException, IllegalAccessException, DBInitExceptionDeprecated. -
getDataRepository
public static DataRepository getDataRepository(String class_name, String resource, Map<String, String> params) throws ClassNotFoundException, InstantiationException, IllegalAccessException, DBInitException, SQLExceptionDeprecated. -
getRepoClass
public static <T extends Class<? extends Repository>> T getRepoClass(T cls, String uri) throws DBInitException Deprecated.Method returns class which would be by default used as implementation of class- Throws:
DBInitException
-
getRepoClass
-
getRepoClassName
Deprecated.Returns name of class which would be used as repository implementation- Parameters:
cls- - interface class needs to implementuri- - uri which needs to be supported by implementation- Throws:
DBInitException
-
getUserRepository
public static UserRepository getUserRepository(String class_name, String resource, Map<String, String> params) throws ClassNotFoundException, InstantiationException, IllegalAccessException, DBInitExceptionDeprecated.
-