public class ServicesDependencies extends Object
| Modifier and Type | Field and Description |
|---|---|
static boolean |
traceConfig |
| Constructor and Description |
|---|
ServicesDependencies(String path,
String parserClass,
String contextRoot) |
| Modifier and Type | Method and Description |
|---|---|
void |
addChannelClass(String className) |
void |
addConfigPath(String path,
long modified) |
void |
addLazyAssociation(String destination,
String associationProp) |
void |
codegenServiceAssociations(ConfigMap metadata,
StringBuffer e4x,
String destination,
String relation)
Analyze code gen service associations.
|
static void |
codegenServiceImportsAndReferences(Map map,
StringBuffer imports,
StringBuffer references)
This method will return an import and variable reference for channels specified in the map.
|
List |
getChannelClasses() |
static ClientConfiguration |
getClientConfiguration(String path,
String parserClass) |
Map |
getConfigPaths() |
String |
getImports() |
Set |
getLazyAssociations(String destination) |
String |
getReferences() |
String |
getServerConfigXmlInit() |
String |
getServicesInitSource(String packageName,
String className)
Gets ActionScript source file for a class.
|
public String getServerConfigXmlInit()
public String getImports()
public String getReferences()
public List getChannelClasses()
public void addChannelClass(String className)
public void addConfigPath(String path, long modified)
public Map getConfigPaths()
public String getServicesInitSource(String packageName, String className)
packageName - - the package compiled into the generated source.className - - the class name of the generated source.public static ClientConfiguration getClientConfiguration(String path, String parserClass)
public void codegenServiceAssociations(ConfigMap metadata, StringBuffer e4x, String destination, String relation)
metadata - the ConfigMap objecte4x - the buffer objectdestination - the current destinationrelation - the relationshippublic static void codegenServiceImportsAndReferences(Map map, StringBuffer imports, StringBuffer references)
map - HashMap containing the client side channel type to be used, typically of the form
"mx.messaging.channels.XXXXChannel", where the key and value are equal.imports - StringBuffer of the imports needed for the given channel definitionsreferences - StringBuffer of the required references so that these classes will be linked in.Copyright © 2015 The Apache Software Foundation. All rights reserved.