Skip navigation links

Oracle® Coherence Java API Reference
Release 12.1.2.0.3

E26043-02


com.tangosol.coherence.config.scheme
Class AbstractScheme

java.lang.Object
  extended by com.tangosol.coherence.config.scheme.AbstractScheme

All Implemented Interfaces:
Scheme
Direct Known Subclasses:
AbstractServiceScheme, CacheStoreScheme, DistributedScheme.BackupConfig

public abstract class AbstractScheme
extends java.lang.Object
implements Scheme

The AbstractScheme is the base implementation of a Scheme. 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
AbstractScheme()
           

 

Method Summary
 java.lang.String getSchemeName()
          Obtains the name of the Scheme.
 boolean isAnonymous()
          Determines if the Scheme is a defined and thus useful name.
 void setSchemeName(java.lang.String sName)
          Set the scheme name, trimming the name of starting and ending whitespace if necessary.
protected  void validate()
          Validate the properties.

 

Constructor Detail

AbstractScheme

public AbstractScheme()

Method Detail

getSchemeName

public java.lang.String getSchemeName()
Obtains the name of the Scheme.
Specified by:
getSchemeName in interface Scheme
Returns:
the scheme name

isAnonymous

public boolean isAnonymous()
Determines if the Scheme is a defined and thus useful name.
Specified by:
isAnonymous in interface Scheme
Returns:
if the Scheme has a name.

setSchemeName

@Injectable
public void setSchemeName(java.lang.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.

Skip navigation links

Oracle® Coherence Java API Reference
Release 12.1.2.0.3

E26043-02


Copyright © 2000, 2014, Oracle and/or its affiliates. All rights reserved.