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
public abstract class AbstractLogic<T extends EntityTO> extends Object
Superclass for all business logic modules.
-
-
Constructor Summary
Constructors Constructor Description AbstractLogic()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description TresolveBeanReference(Method method, Object... args)Resolves stored bean (if existing) referred by the given CUD method.protected abstract TresolveReference(Method method, Object... args)
-
-
-
Field Detail
-
LOG
protected static final Logger LOG
-
-
Method Detail
-
resolveBeanReference
public T resolveBeanReference(Method method, Object... args) throws UnresolvedReferenceException
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
-
-