wt.services.ac.impl
Class DefaultServiceLoader

java.lang.Object
  extended bywt.services.ac.impl.DefaultServiceLoader
All Implemented Interfaces:
ServiceLoader

public final class DefaultServiceLoader
extends Object
implements ServiceLoader



Supported API: false

Extendable: false


Field Summary
private static String CLASSNAME
           
private static String CUSTOM_FILE_KEY_END
           
private static String DEFAULT_FILE
           
private static String DEFAULT_FILE_KEY_END
           
private static String DUPLICATE_CARDINALITY_NAME
           
private static String ENTRY_SEPARATOR
           
private static String EQUALS
           
private static String FILE_KEY_START
           
private static String FILE_SEPARATOR
           
private static String NULL
           
private static Map PROPERTY_MAPPINGS
           
private  String propertyName
           
private static String RESOURCE
           
private static int RESOURCE_ENTRY_TOKENS_PER_LINE
           
private static String RESOURCE_ENTRY_TYPE_NAME
           
private static int SERVICE_ENTRY_TOKENS_PER_LINE
           
private static String SERVICE_ENTRY_TYPE_NAME
           
private static String SERVICE_PREFIX
           
private static int SERVICE_PREFIX_LENGTH
           
private  ACServices services
           
private static String SINGLETON_CARDINALITY_NAME
           
 
Fields inherited from interface wt.services.ac.ServiceLoader
SERVICES
 
Constructor Summary
DefaultServiceLoader()
          

Supported API: false
DefaultServiceLoader(ACServices services)
          

Supported API: false
 
Method Summary
private  String getCustomFilesKey()
           
private  String getDefaultFilesKey()
           
 ACServices getServices()
          Gets the value of the attribute: services.
 void load()
          

Supported API: false
private  void load(PropertiesConsumer entries)
           
private  ServiceDescriptor parseDescriptor(String key, String value)
           
private  void servicesValidate(ACServices a_Services)
           
 void setServices(ACServices a_Services)
          Sets the value of the attribute: services.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

services

private ACServices services

FILE_KEY_START

private static final String FILE_KEY_START
See Also:
Constant Field Values

DEFAULT_FILE_KEY_END

private static final String DEFAULT_FILE_KEY_END
See Also:
Constant Field Values

CUSTOM_FILE_KEY_END

private static final String CUSTOM_FILE_KEY_END
See Also:
Constant Field Values

DEFAULT_FILE

private static final String DEFAULT_FILE
See Also:
Constant Field Values

FILE_SEPARATOR

private static final String FILE_SEPARATOR
See Also:
Constant Field Values

EQUALS

private static final String EQUALS
See Also:
Constant Field Values

ENTRY_SEPARATOR

private static final String ENTRY_SEPARATOR
See Also:
Constant Field Values

SERVICE_PREFIX

private static final String SERVICE_PREFIX
See Also:
Constant Field Values

SERVICE_PREFIX_LENGTH

private static final int SERVICE_PREFIX_LENGTH

SERVICE_ENTRY_TYPE_NAME

private static final String SERVICE_ENTRY_TYPE_NAME
See Also:
Constant Field Values

RESOURCE_ENTRY_TYPE_NAME

private static final String RESOURCE_ENTRY_TYPE_NAME
See Also:
Constant Field Values

DUPLICATE_CARDINALITY_NAME

private static final String DUPLICATE_CARDINALITY_NAME
See Also:
Constant Field Values

SINGLETON_CARDINALITY_NAME

private static final String SINGLETON_CARDINALITY_NAME
See Also:
Constant Field Values

NULL

private static final String NULL
See Also:
Constant Field Values

RESOURCE_ENTRY_TOKENS_PER_LINE

private static final int RESOURCE_ENTRY_TOKENS_PER_LINE
See Also:
Constant Field Values

SERVICE_ENTRY_TOKENS_PER_LINE

private static final int SERVICE_ENTRY_TOKENS_PER_LINE
See Also:
Constant Field Values

PROPERTY_MAPPINGS

private static final Map PROPERTY_MAPPINGS

propertyName

private String propertyName
Constructor Detail

DefaultServiceLoader

public DefaultServiceLoader()


Supported API: false


DefaultServiceLoader

public DefaultServiceLoader(ACServices services)
                     throws WTPropertyVetoException


Supported API: false

Parameters:
services -
Throws:
WTPropertyVetoException
Method Detail

getServices

public ACServices getServices()
Gets the value of the attribute: services.

Supported API: false

Specified by:
getServices in interface ServiceLoader
Returns:
ACServices

setServices

public void setServices(ACServices a_Services)
                 throws WTPropertyVetoException
Sets the value of the attribute: services.

Supported API: false

Specified by:
setServices in interface ServiceLoader
Parameters:
a_Services -
Throws:
WTPropertyVetoException

load

public void load()
          throws ACRuntimeException


Supported API: false

Specified by:
load in interface ServiceLoader
Throws:
ACRuntimeException

servicesValidate

private void servicesValidate(ACServices a_Services)
                       throws WTPropertyVetoException
Parameters:
a_Services -
Throws:
WTPropertyVetoException

getDefaultFilesKey

private String getDefaultFilesKey()

getCustomFilesKey

private String getCustomFilesKey()

load

private void load(PropertiesConsumer entries)
           throws ACException
Throws:
ACException

parseDescriptor

private ServiceDescriptor parseDescriptor(String key,
                                          String value)
                                   throws WTException,
                                          WTPropertyVetoException
Throws:
WTException
WTPropertyVetoException