Horus Doc || Java GUI Reference || Doxygen's quick Index  

ServiceRepository Class Reference

Singleton class for access to CORBA services. More...

List of all members.

Public Methods

void setLookupManager (ServiceLookupManager manager)
 Set the lookup manager for this class. More...

HxCorba.Constructor getConstructor ()
HxCorba.GlobalOps getGlobalOps ()
HxCorba.Test getTest ()
HxCorba.Registry getRegistry ()
HxCorba.Configure getConfigure ()
HxCorba.Database getDatabase ()
HxCorba.TVCapture getTVCapture ()
HxCorba.WebImageFactory getWebImageFactory ()
HxCorba.VideoPlayerFactory getVideoPlayerFactory ()
org.omg.CORBA.Repository getRepository ()
org.omg.CosNaming.NamingContext getNameService ()

Static Public Methods

ServiceRepository instance ()
 Get the instance of this class. More...


Detailed Description

Singleton class for access to CORBA services.

Services are obtained via a ServiceLookupManager upon first request, and then kept in this class. A BasicLookupManager is used by default.


Member Function Documentation

ServiceRepository ServiceRepository::instance   [inline, static]
 

Get the instance of this class.

00023 {
00024     return _instance;
00025 }

void ServiceRepository::setLookupManager ServiceLookupManager    manager [inline]
 

Set the lookup manager for this class.

00047 {
00048     _manager = manager;
00049 }

HxCorba.Constructor ServiceRepository::getConstructor   [inline]
 

00052 {
00053     if(_constructor == null)
00054         _constructor = _manager.getConstructor();
00055     return _constructor;
00056 }

HxCorba.GlobalOps ServiceRepository::getGlobalOps   [inline]
 

00059 {
00060     if(_globalOps == null)
00061         _globalOps = _manager.getGlobalOps();
00062     return _globalOps;
00063 }

HxCorba.Test ServiceRepository::getTest   [inline]
 

00066 {
00067     if(_test == null)
00068         _test = _manager.getTest();
00069     return _test;
00070 }

HxCorba.Registry ServiceRepository::getRegistry   [inline]
 

00073 {
00074     if(_registry == null)
00075         _registry = _manager.getRegistry();
00076     return _registry;
00077 }

HxCorba.Configure ServiceRepository::getConfigure   [inline]
 

00080 {
00081     if(_configure == null)
00082         _configure = _manager.getConfigure();
00083     return _configure;
00084 }

HxCorba.Database ServiceRepository::getDatabase   [inline]
 

00087 {
00088     if(_database == null)
00089         _database = _manager.getDatabase();
00090     return _database;
00091 }

HxCorba.TVCapture ServiceRepository::getTVCapture   [inline]
 

00094 {
00095     if(_tvCapture == null)
00096         _tvCapture = _manager.getTVCapture();
00097     return _tvCapture;
00098 }

HxCorba.WebImageFactory ServiceRepository::getWebImageFactory   [inline]
 

00101 {
00102     if(_webImage == null)
00103         _webImage = _manager.getWebImageFactory();
00104     return _webImage;
00105 }

HxCorba.VideoPlayerFactory ServiceRepository::getVideoPlayerFactory   [inline]
 

00108 {
00109     if(_videoPlayer == null)
00110         _videoPlayer = _manager.getVideoPlayerFactory();
00111     return _videoPlayer;
00112 }

org.omg.CORBA.Repository ServiceRepository::getRepository   [inline]
 

00115 {
00116     if(_ir == null)
00117         _ir = _manager.getRepository();
00118     return _ir;
00119 }

org.omg.CosNaming.NamingContext ServiceRepository::getNameService   [inline]
 

00122 {
00123     if(_ns == null)
00124         _ns = _manager.getNameService();
00125     return _ns;
00126 }


The documentation for this class was generated from the following file:
Generated on Mon Jan 27 15:11:26 2003 for JavaReference by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001