|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
com.tangosol.coherence.config.ServiceSchemeRegistry
public class ServiceSchemeRegistry
A ServiceSchemeRegistry provides a mechanism manage a collection of ServiceSchemes together with the ability to search the registry for said ServiceSchemes, either by name or service name.
ServiceSchemeRegistrys are Iterable, the order of iteration being the order in which the ServiceSchemes where added to the said ServiceSchemeRegistry.
| Constructor Summary | |
|---|---|
ServiceSchemeRegistry()Constructs a ServiceSchemeRegistry. |
|
| Method Summary | |
|---|---|
ServiceScheme |
findSchemeBySchemeName(java.lang.String sSchemeName)Attempts to locate a ServiceScheme registered with the specified Scheme.getSchemeName(). |
ServiceScheme |
findSchemeByServiceName(java.lang.String sServiceName)Attempts to locate a ServiceScheme registered with the specified ServiceScheme.getServiceName() |
java.util.Iterator |
iterator() |
void |
register(ServiceScheme scheme)Attempts to register the specified ServiceScheme. |
int |
size()Determines the number of Schemes registered with the ServiceSchemeRegistry. |
| Constructor Detail |
|---|
public ServiceSchemeRegistry()
ServiceSchemeRegistry.| Method Detail |
|---|
public java.util.Iterator iterator()
iterator in interface java.lang.Iterablepublic void register(ServiceScheme scheme)
ServiceScheme.scheme - the ServiceScheme to registerjava.lang.IllegalArgumentException - if a ServiceScheme with the same scheme and/or service name has already been registeredpublic ServiceScheme findSchemeBySchemeName(java.lang.String sSchemeName)
ServiceScheme registered with the specified Scheme.getSchemeName().sSchemeName - the scheme of the ServiceScheme to findServiceScheme or null if not registeredpublic ServiceScheme findSchemeByServiceName(java.lang.String sServiceName)
ServiceScheme registered with the specified ServiceScheme.getServiceName()sServiceName - the service name of ServiceScheme to findServiceScheme or null if not registeredpublic int size()
Schemes registered with the ServiceSchemeRegistry.Schemes
|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||