wt.dataservice
Class DataServiceFactory

java.lang.Object
  extended bywt.dataservice.DataServiceFactory
All Implemented Interfaces:
ApplicationContextChild

public class DataServiceFactory
extends Object
implements ApplicationContextChild


Field Summary
private  ApplicationContextServices applicationContext
           
private  Datastore datastore
           
private static DataServiceFactory factory
           
private static String LINGUISTIC_SORT_RESOURCE
           
private static String SERVICE_SELECTOR
           
 
Fields inherited from interface wt.services.applicationcontext.ApplicationContextChild
APPLICATION_CONTEXT
 
Constructor Summary
DataServiceFactory()
           
DataServiceFactory(Datastore aDatastore)
           
 
Method Summary
 Object get(Class target)
           
 Object get(Class target, String selector)
           
 ApplicationContext getApplicationContext()
          Gets the object for the association that plays role: APPLICATION_CONTEXT.
private  ApplicationContextServices getApplicationContextServices()
           
 Datastore getDatastore()
           
static Datastore getDatastore(String a_name)
           
static DataServiceFactory getDefault()
           
 String getOracleLinguisticSortSequence(Locale locale)
           
 void setApplicationContext(ApplicationContext a_ApplicationContext)
          Sets the object for the association that plays role: APPLICATION_CONTEXT.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

applicationContext

private ApplicationContextServices applicationContext

datastore

private Datastore datastore

SERVICE_SELECTOR

private static final String SERVICE_SELECTOR
See Also:
Constant Field Values

LINGUISTIC_SORT_RESOURCE

private static final String LINGUISTIC_SORT_RESOURCE
See Also:
Constant Field Values

factory

private static DataServiceFactory factory
Constructor Detail

DataServiceFactory

public DataServiceFactory()

DataServiceFactory

public DataServiceFactory(Datastore aDatastore)
Method Detail

getDefault

public static DataServiceFactory getDefault()

getDatastore

public static Datastore getDatastore(String a_name)

get

public Object get(Class target)

get

public Object get(Class target,
                  String selector)

setApplicationContext

public void setApplicationContext(ApplicationContext a_ApplicationContext)
                           throws WTPropertyVetoException
Description copied from interface: ApplicationContextChild
Sets the object for the association that plays role: APPLICATION_CONTEXT.

Supported API: false

Specified by:
setApplicationContext in interface ApplicationContextChild
Parameters:
a_ApplicationContext -
Throws:
WTPropertyVetoException

getApplicationContext

public ApplicationContext getApplicationContext()
Description copied from interface: ApplicationContextChild
Gets the object for the association that plays role: APPLICATION_CONTEXT.

Supported API: false

Specified by:
getApplicationContext in interface ApplicationContextChild
Returns:
ApplicationContext

getDatastore

public Datastore getDatastore()

getApplicationContextServices

private ApplicationContextServices getApplicationContextServices()

getOracleLinguisticSortSequence

public String getOracleLinguisticSortSequence(Locale locale)