Class AbstractScheme
- java.lang.Object
 - 
- com.tangosol.coherence.config.scheme.AbstractScheme
 
 
- 
- All Implemented Interfaces:
 Scheme
- Direct Known Subclasses:
 AbstractServiceScheme,CacheStoreScheme,DistributedScheme.BackupConfig
public abstract class AbstractScheme extends Object implements Scheme
TheAbstractSchemeis the base implementation of aScheme. The setters annotated with @Injectable are automatically called by CODI during document processing. Non-annotated setters are typically called by the CODI element processors.- Since:
 - Coherence 12.1.2
 - Author:
 - pfm 2011.12.28
 
 
- 
- 
Constructor Summary
Constructors Constructor Description AbstractScheme() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetSchemeName()Obtains the name of theScheme.booleanisAnonymous()Determines if theSchemeis a defined and thus useful name.voidsetSchemeName(String sName)Set the scheme name, trimming the name of starting and ending whitespace if necessary.protected voidvalidate()Validate the properties. 
 - 
 
- 
- 
Method Detail
- 
getSchemeName
public String getSchemeName()
Obtains the name of theScheme.- Specified by:
 getSchemeNamein interfaceScheme- Returns:
 - the scheme name
 
 
- 
isAnonymous
public boolean isAnonymous()
Determines if theSchemeis a defined and thus useful name.- Specified by:
 isAnonymousin interfaceScheme- Returns:
 - if the 
Schemehas a name. 
 
- 
setSchemeName
@Injectable public void setSchemeName(String sName)
Set the scheme name, trimming the name of starting and ending whitespace if necessary.- Parameters:
 sName- the scheme name
 
- 
validate
protected void validate()
Validate the properties. 
 - 
 
 -