Package org.apache.syncope.core.logic
Class AbstractLogic<T extends EntityTO>
java.lang.Object
org.apache.syncope.core.logic.AbstractLogic<T>
- Type Parameters:
T
- transfer object used for input / output
- Direct Known Subclasses:
AbstractResourceAssociator
,AbstractTransactionalLogic
,CommandLogic
,RemediationLogic
,SCIMLogic
,SyncopeLogic
Superclass for all business logic modules.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionresolveBeanReference
(Method method, Object... args) Resolves stored bean (if existing) referred by the given CUD method.protected abstract T
resolveReference
(Method method, Object... args)
-
Field Details
-
LOG
-
-
Constructor Details
-
AbstractLogic
public AbstractLogic()
-
-
Method Details
-
resolveBeanReference
Resolves stored bean (if existing) referred by the given CUD method. Read-only methods will be unresolved for performance reasons.- Parameters:
method
- method.args
- method arguments.- Returns:
- referred stored bean.
- Throws:
UnresolvedReferenceException
- in case of failures, read-only methods and unresolved bean.
-
resolveReference
protected abstract T resolveReference(Method method, Object... args) throws UnresolvedReferenceException - Throws:
UnresolvedReferenceException
-