B C D F G I J L M N O P R S T U

B

bindLoginLocale(Locale) - Static method in class org.clazzes.util.aop.ThreadLocalManager
A shortcut for:
ThreadLocalManager.bindResource(LOGIN_LOCALE_KEY,loc);
bindLoginPrincipal(Principal) - Static method in class org.clazzes.util.aop.ThreadLocalManager
A shortcut for:
ThreadLocalManager.bindResource(LOGIN_PRINCIPAL_KEY,principal);
bindLoginTimeZone(TimeZone) - Static method in class org.clazzes.util.aop.ThreadLocalManager
A shortcut for:
ThreadLocalManager.bindResource(LOGIN_TIMEZONE_KEY,loc);
bindResource(String, Object) - Static method in class org.clazzes.util.aop.ThreadLocalManager
Bind a resource from a singleton factory to the current thread.

C

CldrPluralRuleLoader - Class in org.clazzes.util.aop.i18n.impl
A loader for CLDR plural rules as specified in the plural rule specification of the Unicode Consortium.
CldrPluralRuleLoader() - Constructor for class org.clazzes.util.aop.i18n.impl.CldrPluralRuleLoader
 
closeStatement(Statement) - Static method in class org.clazzes.util.aop.jdbc.JdbcDAOSupport
Close an SQL statement.

D

DAOException - Exception in org.clazzes.util.aop
This runtime exception is thrown whenever an SQLException or a similar checked exception occurs inside a DAO implementation.
DAOException() - Constructor for exception org.clazzes.util.aop.DAOException
 
DAOException(String, Throwable) - Constructor for exception org.clazzes.util.aop.DAOException
 
DAOException(String) - Constructor for exception org.clazzes.util.aop.DAOException
 
DAOException(Throwable) - Constructor for exception org.clazzes.util.aop.DAOException
 
DEFAULT_THREAD_LOCAL_KEY - Static variable in class org.clazzes.util.aop.jdbc.JdbcTransactionInterceptor
The default thread local key, which is used if no other key is configured.
delete(Serializable) - Method in interface org.clazzes.util.aop.generic.GenericDAO
Deletes the given object of the generic's type from the database.

F

FallbackPluralRule - Class in org.clazzes.util.aop.i18n.impl
A very rudimentary plural rule implementation for english and german.
FallbackPluralRule() - Constructor for class org.clazzes.util.aop.i18n.impl.FallbackPluralRule
 
formatPluralString(double, String, Object...) - Method in class org.clazzes.util.aop.i18n.impl.MessagesImpl
 
formatPluralString(double, String, Object...) - Method in interface org.clazzes.util.aop.i18n.Messages
Format the given localized message with possible plural forms with a set of arguments.
formatString(String, Object...) - Method in class org.clazzes.util.aop.i18n.impl.MessagesImpl
 
formatString(String, Object...) - Method in interface org.clazzes.util.aop.i18n.Messages
Format the given localized message with a set of arguments.

G

GenericDAO<T> - Interface in org.clazzes.util.aop.generic
This interface is implemented by DAOs, which support the traditional save, update and delete operations on a single data class.
GenericGetAllDAO<T> - Interface in org.clazzes.util.aop.generic
A generic interface for DAOs for objects, which need to be retrieved as a list without a context information.
GenericJoinDAO<T,B> - Interface in org.clazzes.util.aop.generic
This interface encapsulates DAOs for types T which reference a base type B through a foreign key.
get(Serializable) - Method in interface org.clazzes.util.aop.generic.GenericDAO
Returns the database object of the generic's type with the given database Id.
getAll() - Method in interface org.clazzes.util.aop.generic.GenericGetAllDAO
 
getAllJoined(Serializable) - Method in interface org.clazzes.util.aop.generic.GenericJoinDAO
 
getArguments() - Method in class org.clazzes.util.aop.InterceptedMethodInvocation
 
getArguments() - Method in class org.clazzes.util.aop.InvocationHandlerMethodInvocation
 
getArguments() - Method in class org.clazzes.util.aop.ReflectiveMethodInvocation
 
getBoundResource(String) - Static method in class org.clazzes.util.aop.ThreadLocalManager
Fetch a resource from a singleton factory from the current thread, which has previously been bound using ThreadLocalManager.bindResource(String, Object).
getCatalog() - Method in class org.clazzes.util.aop.jdbc.JdbcTransactionInterceptor
 
getClassLoader() - Method in class org.clazzes.util.aop.ProxyFactory
 
getConnection() - Method in class org.clazzes.util.aop.jdbc.JdbcDAOSupport
Fetch previously bound connection from ThreadLocalManager.
getDataSource() - Method in class org.clazzes.util.aop.jdbc.JdbcTransactionInterceptor
 
getExcludeMethods() - Method in class org.clazzes.util.aop.ProxyFactory
 
getIncludeMethods() - Method in class org.clazzes.util.aop.ProxyFactory
 
getInterceptors() - Method in class org.clazzes.util.aop.ProxyFactory
 
getInterfaces() - Method in class org.clazzes.util.aop.ProxyFactory
 
getLocale() - Method in class org.clazzes.util.aop.i18n.impl.MessagesImpl
 
getLocale() - Method in interface org.clazzes.util.aop.i18n.Messages
 
getLoginLocale() - Static method in class org.clazzes.util.aop.ThreadLocalManager
 
getLoginPrincipal() - Static method in class org.clazzes.util.aop.ThreadLocalManager
 
getLoginTimeZone() - Static method in class org.clazzes.util.aop.ThreadLocalManager
 
getMethod() - Method in class org.clazzes.util.aop.InterceptedMethodInvocation
 
getMethod() - Method in class org.clazzes.util.aop.InvocationHandlerMethodInvocation
 
getMethod() - Method in class org.clazzes.util.aop.ReflectiveMethodInvocation
 
getMultiTypedProxy(Object, Class[]) - Method in class org.clazzes.util.aop.ProxyFactory
This method facilitates the use of a proxy singleton to generate more proxies for different targets with a changing set of interfaces but with the same set of interceptors.
getPersistentBaseClass() - Method in interface org.clazzes.util.aop.generic.GenericJoinDAO
 
getPersistentClass() - Method in interface org.clazzes.util.aop.generic.GenericDAO
 
getPluralRule() - Method in class org.clazzes.util.aop.i18n.impl.MessagesImpl
 
getPluralRule() - Method in interface org.clazzes.util.aop.i18n.Messages
 
getPluralRule(Locale) - Static method in class org.clazzes.util.aop.i18n.PluralRuleFactory
 
getPluralString(double, String) - Method in class org.clazzes.util.aop.i18n.impl.MessagesImpl
 
getPluralString(double, String) - Method in interface org.clazzes.util.aop.i18n.Messages
Find a localized message with possible plural forms.
getProxy() - Method in class org.clazzes.util.aop.ProxyFactory
 
getRequestThreadLocalKey() - Method in class org.clazzes.util.aop.servlet.ThreadLocalServletInterceptor
 
getResponseThreadLocalKey() - Method in class org.clazzes.util.aop.servlet.ThreadLocalServletInterceptor
 
getRuleForLocale(String) - Method in class org.clazzes.util.aop.i18n.impl.CldrPluralRuleLoader
 
getStaticPart() - Method in class org.clazzes.util.aop.InterceptedMethodInvocation
 
getStaticPart() - Method in class org.clazzes.util.aop.InvocationHandlerMethodInvocation
 
getStaticPart() - Method in class org.clazzes.util.aop.ReflectiveMethodInvocation
 
getString(String) - Method in class org.clazzes.util.aop.i18n.impl.MessagesImpl
 
getString(String) - Method in interface org.clazzes.util.aop.i18n.Messages
 
getTarget() - Method in class org.clazzes.util.aop.ProxyFactory
 
getThis() - Method in class org.clazzes.util.aop.InterceptedMethodInvocation
 
getThis() - Method in class org.clazzes.util.aop.InvocationHandlerMethodInvocation
 
getThis() - Method in class org.clazzes.util.aop.ReflectiveMethodInvocation
 
getThreadLocalKey() - Method in class org.clazzes.util.aop.jdbc.JdbcDAOSupport
 
getThreadLocalKey() - Method in class org.clazzes.util.aop.jdbc.JdbcTransactionInterceptor
 
getTransactionIsolation() - Method in class org.clazzes.util.aop.jdbc.JdbcTransactionInterceptor
 
getTypedProxy(Object, Class<T>) - Method in class org.clazzes.util.aop.ProxyFactory
This method facilitates the use of a proxy singleton to generate more proxies for different targets with changing interfaces but with the same set of interceptors.

I

insert(T) - Method in interface org.clazzes.util.aop.generic.GenericDAO
Saves the given object of the generic's type to the database.
InterceptedMethodInvocation - Class in org.clazzes.util.aop
An implementation of MethodInvocation, which is intercepted by a MethodInterceptor.
InterceptedMethodInvocation(MethodInvocation, MethodInterceptor) - Constructor for class org.clazzes.util.aop.InterceptedMethodInvocation
 
InvocationHandlerMethodInvocation - Class in org.clazzes.util.aop
An implementation of MethodInvocation, which operates on an InvocationHandler instance.
InvocationHandlerMethodInvocation(InvocationHandler, Object, Method, Object[]) - Constructor for class org.clazzes.util.aop.InvocationHandlerMethodInvocation
 
invoke(MethodInvocation) - Method in class org.clazzes.util.aop.jdbc.JdbcTransactionInterceptor
 
invoke(MethodInvocation) - Method in class org.clazzes.util.aop.servlet.ThreadLocalServletInterceptor
 
isPedanticProbe() - Method in class org.clazzes.util.aop.jdbc.JdbcTransactionInterceptor
 

J

JdbcDAOSupport - Class in org.clazzes.util.aop.jdbc
A base class for JDBC DAO classes, which provides access to a thread-bound JDBC connection, which is established by a JdbcTransactionInterceptor.
JdbcDAOSupport() - Constructor for class org.clazzes.util.aop.jdbc.JdbcDAOSupport
 
JdbcPreparedStatementAction<T> - Interface in org.clazzes.util.aop.jdbc
This interface encapsulates JDBC code, which is executed as part of a DAO.
JdbcStatementAction<T> - Interface in org.clazzes.util.aop.jdbc
This interface encapsulates JDBC code, which is executed as part of a DAO.
JdbcTransactionInterceptor - Class in org.clazzes.util.aop.jdbc
This method interceptor fetches a JDBC transaction from a JDBC Datasource, opens a transaction and binds the JDBC connection to the current thread using ThreadLocalManager.bindResource(String, Object) with the given datasource as a key.
JdbcTransactionInterceptor() - Constructor for class org.clazzes.util.aop.jdbc.JdbcTransactionInterceptor
 

L

loadResources(Locale, ClassLoader, String) - Static method in class org.clazzes.util.aop.i18n.MessagesFactory
 
LOGIN_LOCALE_KEY - Static variable in class org.clazzes.util.aop.ThreadLocalManager
The key under which the locale of a logged in user is bound to the current thread.
LOGIN_PRINCIPAL_KEY - Static variable in class org.clazzes.util.aop.ThreadLocalManager
The key under which the principal of a logged in user is bound to the current thread.
LOGIN_TIMEZONE_KEY - Static variable in class org.clazzes.util.aop.ThreadLocalManager
The key under which the time zone of a logged in user is bound to the current thread.

M

mapCardinalToPluralTag(double) - Method in class org.clazzes.util.aop.i18n.impl.FallbackPluralRule
 
mapCardinalToPluralTag(double) - Method in interface org.clazzes.util.aop.i18n.PluralRule
 
merge(T) - Method in interface org.clazzes.util.aop.generic.GenericDAO
Merges (updates) the given object of the generic's type in the database.
Messages - Interface in org.clazzes.util.aop.i18n
Interface for i18n message retrieval through a ResourceBundle and abbreviated formatting using String.format(java.util.Locale, String, Object...).
MessagesFactory - Class in org.clazzes.util.aop.i18n
A factory for Messages, which eases the retrieval of localized resources.
MessagesFactory() - Constructor for class org.clazzes.util.aop.i18n.MessagesFactory
 
MessagesImpl - Class in org.clazzes.util.aop.i18n.impl
The implementation of our Messages interface.
MessagesImpl(Locale, PluralRule, ResourceBundle) - Constructor for class org.clazzes.util.aop.i18n.impl.MessagesImpl
 

N

newMessages(Locale, PluralRule, ResourceBundle) - Static method in class org.clazzes.util.aop.i18n.MessagesFactory
Construct a Messages instance by locale, plural rule and a resource bundle.
newMessages(Locale, ResourceBundle) - Static method in class org.clazzes.util.aop.i18n.MessagesFactory
Construct a Messages instance by locale,and a resource bundle.
newMessages(Locale, PluralRule, ClassLoader, String) - Static method in class org.clazzes.util.aop.i18n.MessagesFactory
Construct a Messages instance by locale, plural rule and a resource bundle to be loaded from a properties file from the resourcePath from the given class loader.
newMessages(Locale, ClassLoader, String) - Static method in class org.clazzes.util.aop.i18n.MessagesFactory
Construct a Messages instance by locale and a resource bundle to be loaded from a properties file from the resourcePath from the given class loader.
newMessages(Locale, PluralRule, Class<?>) - Static method in class org.clazzes.util.aop.i18n.MessagesFactory
Return a Messages instance by locale, plural rule and a resource bundle to be loaded from a properties file using the class loader and the class name of the given class.
newMessages(Locale, Class<?>) - Static method in class org.clazzes.util.aop.i18n.MessagesFactory
Return a Messages instance by locale and a resource bundle to be loaded from a properties file using the class loader and the class name of the given class.

O

org.clazzes.util.aop - package org.clazzes.util.aop
 
org.clazzes.util.aop.generic - package org.clazzes.util.aop.generic
 
org.clazzes.util.aop.i18n - package org.clazzes.util.aop.i18n
 
org.clazzes.util.aop.i18n.impl - package org.clazzes.util.aop.i18n.impl
 
org.clazzes.util.aop.jdbc - package org.clazzes.util.aop.jdbc
 
org.clazzes.util.aop.servlet - package org.clazzes.util.aop.servlet
 

P

parsePluralsXml() - Method in class org.clazzes.util.aop.i18n.impl.CldrPluralRuleLoader
 
perform(PreparedStatement) - Method in interface org.clazzes.util.aop.jdbc.JdbcPreparedStatementAction
Run a piece of JDBC code inside a context, where a prepared statement has been set up.
perform(Statement) - Method in interface org.clazzes.util.aop.jdbc.JdbcStatementAction
Run a piece of JDBC code inside a context, where a statement has been set up.
performWithPreparedStatement(String, JdbcPreparedStatementAction<T>) - Method in class org.clazzes.util.aop.jdbc.JdbcDAOSupport
Perform a JDBC action inside a context, where an JDBC statement has been set up and will be closed in a finally clause.
performWithPreparedStatement(String, int, int, JdbcPreparedStatementAction<T>) - Method in class org.clazzes.util.aop.jdbc.JdbcDAOSupport
Perform a JDBC action inside a context, where an JDBC statement has been set up and will be closed in a finally clause.
performWithPreparedStatement(String, int, JdbcPreparedStatementAction<T>) - Method in class org.clazzes.util.aop.jdbc.JdbcDAOSupport
Perform a JDBC action inside a context, where an JDBC statement has been set up and will be closed in a finally clause.
performWithStatement(JdbcStatementAction<T>) - Method in class org.clazzes.util.aop.jdbc.JdbcDAOSupport
Perform a JDBC action inside a context, where an JDBC statement has been set up and will be closed in a finally clause.
performWithStatement(int, int, JdbcStatementAction<T>) - Method in class org.clazzes.util.aop.jdbc.JdbcDAOSupport
Perform a JDBC action inside a context, where an JDBC statement has been set up and will be closed in a finally clause.
PluralRule - Interface in org.clazzes.util.aop.i18n
A plural rule mapping a number to one of the plural tags zero, one, two, few or many mentioned in the plural rule specification of the Unicode Consortium.
PluralRuleFactory - Class in org.clazzes.util.aop.i18n
A default factory for plural rules.
PluralRuleFactory() - Constructor for class org.clazzes.util.aop.i18n.PluralRuleFactory
 
probeDataBase() - Method in class org.clazzes.util.aop.jdbc.JdbcTransactionInterceptor
This method may be used as an initialization method in order to resolve the database driver and check the database connection.
proceed() - Method in class org.clazzes.util.aop.InterceptedMethodInvocation
 
proceed() - Method in class org.clazzes.util.aop.InvocationHandlerMethodInvocation
 
proceed() - Method in class org.clazzes.util.aop.ReflectiveMethodInvocation
 
ProxyFactory - Class in org.clazzes.util.aop
A lightweight proxy factory for instantiating intercepted instances of interface implementations.
ProxyFactory() - Constructor for class org.clazzes.util.aop.ProxyFactory
 

R

ReflectiveMethodInvocation - Class in org.clazzes.util.aop
An implementation of MethodInvocation, which operates on an ordinary Java Object.
ReflectiveMethodInvocation(Object, Method, Object[]) - Constructor for class org.clazzes.util.aop.ReflectiveMethodInvocation
 
refresh(T) - Method in interface org.clazzes.util.aop.generic.GenericDAO
Refreshes (reloads, reverts) the given object of the generic's type from the database.

S

setCatalog(String) - Method in class org.clazzes.util.aop.jdbc.JdbcTransactionInterceptor
 
setClassLoader(ClassLoader) - Method in class org.clazzes.util.aop.ProxyFactory
 
setDataSource(DataSource) - Method in class org.clazzes.util.aop.jdbc.JdbcTransactionInterceptor
 
setExcludeMethods(Pattern) - Method in class org.clazzes.util.aop.ProxyFactory
 
setIncludeMethods(Pattern) - Method in class org.clazzes.util.aop.ProxyFactory
 
setInterceptor(MethodInterceptor) - Method in class org.clazzes.util.aop.ProxyFactory
Convenience setter, which sets the invoked interceptors to a single instance.
setInterceptors(MethodInterceptor[]) - Method in class org.clazzes.util.aop.ProxyFactory
 
setInterface(Class) - Method in class org.clazzes.util.aop.ProxyFactory
Convenience setter, which sets the proxy-implemented interfaces to a single interface.
setInterfaces(Class[]) - Method in class org.clazzes.util.aop.ProxyFactory
 
setPedanticProbe(boolean) - Method in class org.clazzes.util.aop.jdbc.JdbcTransactionInterceptor
 
setRequestThreadLocalKey(String) - Method in class org.clazzes.util.aop.servlet.ThreadLocalServletInterceptor
 
setResponseThreadLocalKey(String) - Method in class org.clazzes.util.aop.servlet.ThreadLocalServletInterceptor
 
setTarget(Object) - Method in class org.clazzes.util.aop.ProxyFactory
 
setThreadLocalKey(String) - Method in class org.clazzes.util.aop.jdbc.JdbcDAOSupport
 
setThreadLocalKey(String) - Method in class org.clazzes.util.aop.jdbc.JdbcTransactionInterceptor
 
setTransactionIsolation(Integer) - Method in class org.clazzes.util.aop.jdbc.JdbcTransactionInterceptor
 
SOURCE_LANGUAGE_PROPERTY - Static variable in class org.clazzes.util.aop.i18n.MessagesFactory
 

T

ThreadLocalManager - Class in org.clazzes.util.aop
This class provides accessible methods for binding resources like pooled database or remoting clients to the current thread, utilizing ThreadLocal.
ThreadLocalManager() - Constructor for class org.clazzes.util.aop.ThreadLocalManager
 
ThreadLocalServletInterceptor - Class in org.clazzes.util.aop.servlet
A method interceptor, which binds the servlet request and/or reponse to a thread local key.
ThreadLocalServletInterceptor() - Constructor for class org.clazzes.util.aop.servlet.ThreadLocalServletInterceptor
 

U

unbindLoginLocale() - Static method in class org.clazzes.util.aop.ThreadLocalManager
Unbind a locale previously bound by ThreadLocalManager.bindLoginLocale(Locale).
unbindLoginPrincipal() - Static method in class org.clazzes.util.aop.ThreadLocalManager
Unbind a principal previously bound by ThreadLocalManager.bindLoginPrincipal(Principal).
unbindLoginTimeZone() - Static method in class org.clazzes.util.aop.ThreadLocalManager
Unbind a time zone previously bound by ThreadLocalManager.bindLoginTimeZone(TimeZone).
unbindResource(String) - Static method in class org.clazzes.util.aop.ThreadLocalManager
Unbind a resource from a singleton factory from the current thread, which has previously been bound using ThreadLocalManager.bindResource(String, Object).
update(T) - Method in interface org.clazzes.util.aop.generic.GenericDAO
Updates the given object of the generic's type in the database.

B C D F G I J L M N O P R S T U

Copyright © 2013. All Rights Reserved.