public final class ClassNameCRStrategyRegistry extends Object
ClassNameCRStrategy implementations obtained from the Castor builder
properties file.| Constructor and Description |
|---|
ClassNameCRStrategyRegistry(String enlistedNameConflictStrategies)
Construct an instance of
ClassNameCRStrategyRegistry that loads the
ClassNameCRStrategy implementations specified in the given BuilderConfiguration. |
| Modifier and Type | Method and Description |
|---|---|
ClassNameCRStrategy |
getClassNameConflictResolutionStrategy(String name)
Returns a
ClassNameCRStrategy with the specified name. |
String[] |
getClassNameConflictResolutionStrategyNames()
Returns the names of all the configured
ClassNameCRStrategy implementations. |
public ClassNameCRStrategyRegistry(String enlistedNameConflictStrategies)
ClassNameCRStrategyRegistry that loads the
ClassNameCRStrategy implementations specified in the given BuilderConfiguration.enlistedNameConflictStrategies - The BuilderConfiguration.public String[] getClassNameConflictResolutionStrategyNames()
ClassNameCRStrategy implementations. A
ClassNameCRStrategy instance can be obtained by the
getClassNameConflictResolutionStrategy(java.lang.String) method.ClassNameCRStrategy implementationspublic ClassNameCRStrategy getClassNameConflictResolutionStrategy(String name)
ClassNameCRStrategy with the specified name. Returns null if the named
strategy is not supported.name - The name of the ClassNameConflictResolutionStrategy.Copyright © 2016. All rights reserved.