Oracle® Fusion Middleware C++ API Reference for Oracle Coherence
12c (


NameService Class Reference

#include <coherence/net/NameService.hpp>

Inherits Service.

List of all members.

Detailed Description

A NameService is a clustered service that accepts connections from external clients (e.g.

Coherence*Extend) and provides a name lookup service.

Wei Lin 2012.06.18
Coherence 12.1.2

Public Types

typedef spec::Handle Handle
 NameService Handle definition.
typedef spec::View View
 NameService View definition.
typedef spec::Holder Holder
 NameService Holder definition.

Public Member Functions

virtual void bind (String::View vsName, Object::View o)=0
 Binds a name to an object.
virtual Object::View lookup (String::View vsName)=0
 Retrieves the named object.
virtual void unbind (String::View vsName)=0
 Unbinds the named object.

Member Function Documentation

virtual void bind ( String::View  vsName,
Object::View  o 
) [pure virtual]

Binds a name to an object.

vsName the name to bind; may not be empty
o the object to bind; possibly null

virtual Object::View lookup ( String::View  vsName  )  [pure virtual]

Retrieves the named object.

vsName the name of the object to look up
the object bound to sName
NamingException if a naming exception is encountered

virtual void unbind ( String::View  vsName  )  [pure virtual]

Unbinds the named object.

vsName the name to bind; may not be empty

The documentation for this class was generated from the following file:
Copyright © 2000, 2014, Oracle and/or its affiliates. All rights reserved.