pl.edu.agh.cast
Class CoreServiceLocator

java.lang.Object
  extended by pl.edu.agh.cast.CoreServiceLocator

public class CoreServiceLocator
extends Object

Locator of core CAST services.

Author:
AGH CAST Team
See Also:
IObservablePersistenceProvider, IResourceRegistry, ConverterRegistry

Constructor Summary
CoreServiceLocator()
           
 
Method Summary
static ConverterRegistry getConverterRegistry()
          Returns the converter registry.
static TransparentPersistenceProvider getPersistenceProvider()
          Returns the persistence provider.
static IResourceRegistry getResourceRegistry()
          Returns the resource registry.
static void initialize()
          Initializes the CAST services.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CoreServiceLocator

public CoreServiceLocator()
Method Detail

initialize

public static void initialize()
                       throws Exception
Initializes the CAST services.

Throws:
Exception

getPersistenceProvider

public static TransparentPersistenceProvider getPersistenceProvider()
Returns the persistence provider.

Returns:
persistence provider

getResourceRegistry

public static IResourceRegistry getResourceRegistry()
Returns the resource registry.

Returns:
resource registry

getConverterRegistry

public static ConverterRegistry getConverterRegistry()
Returns the converter registry.

Returns:
converter registry


Copyright © 2007-2009 IISG AGH-UST Krakow, Poland. All Rights Reserved.