Class ClassPathScanImplementationLookup
java.lang.Object
org.apache.syncope.core.logic.init.ClassPathScanImplementationLookup
- All Implemented Interfaces:
SyncopeCoreLoader
,ImplementationLookup
,Ordered
Cache class names for all implementations of Syncope interfaces found in classpath, for later usage.
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionClass
<? extends AccountRule> getAccountRuleClass
(Class<? extends AccountRuleConf> accountRuleConfClass) protected static String
This method can be overridden by subclasses to customize classpath scan.getClassNames
(String type) Class
<? extends InboundCorrelationRule> getInboundCorrelationRuleClass
(Class<? extends InboundCorrelationRuleConf> inboundCorrelationRuleConfClass) int
getOrder()
Class
<? extends PasswordRule> getPasswordRuleClass
(Class<? extends PasswordRuleConf> passwordRuleConfClass) Class
<? extends PushCorrelationRule> getPushCorrelationRuleClass
(Class<? extends PushCorrelationRuleConf> correlationRuleConfClass) Class
<? extends ReportJobDelegate> getReportClass
(Class<? extends ReportConf> reportConfClass) void
load()
Perform generic (not related to any domain) init operations.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.syncope.core.persistence.api.SyncopeCoreLoader
load, unload, unload
-
Constructor Details
-
ClassPathScanImplementationLookup
public ClassPathScanImplementationLookup()
-
-
Method Details
-
getOrder
public int getOrder() -
getBasePackage
This method can be overridden by subclasses to customize classpath scan.- Returns:
- basePackage for classpath scanning
-
load
public void load()Description copied from interface:SyncopeCoreLoader
Perform generic (not related to any domain) init operations.- Specified by:
load
in interfaceSyncopeCoreLoader
-
getClassNames
- Specified by:
getClassNames
in interfaceImplementationLookup
-
getReportClass
public Class<? extends ReportJobDelegate> getReportClass(Class<? extends ReportConf> reportConfClass) - Specified by:
getReportClass
in interfaceImplementationLookup
-
getAccountRuleClass
public Class<? extends AccountRule> getAccountRuleClass(Class<? extends AccountRuleConf> accountRuleConfClass) - Specified by:
getAccountRuleClass
in interfaceImplementationLookup
-
getPasswordRuleClass
public Class<? extends PasswordRule> getPasswordRuleClass(Class<? extends PasswordRuleConf> passwordRuleConfClass) - Specified by:
getPasswordRuleClass
in interfaceImplementationLookup
-
getInboundCorrelationRuleClass
public Class<? extends InboundCorrelationRule> getInboundCorrelationRuleClass(Class<? extends InboundCorrelationRuleConf> inboundCorrelationRuleConfClass) - Specified by:
getInboundCorrelationRuleClass
in interfaceImplementationLookup
-
getPushCorrelationRuleClass
public Class<? extends PushCorrelationRule> getPushCorrelationRuleClass(Class<? extends PushCorrelationRuleConf> correlationRuleConfClass) - Specified by:
getPushCorrelationRuleClass
in interfaceImplementationLookup
-