|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.npsnet.xrti.utilities.ProxyCompiler
The XRTI proxy compiler. May be invoked as a command line application or
by using the static compileProxies method (from within an Ant
task, for instance).
| Constructor Summary | |
ProxyCompiler()
|
|
| Method Summary | |
void |
compileProxies()
Generates Java source code for a set of proxy classes corresponding to the object and interaction classes described in the federation description document. |
java.io.File |
getFederationDescriptionDocument()
Returns the location of the federation description document. |
java.lang.String |
getInteractionListenerName()
Returns the (unprefixed) name of the interaction listener interface. |
java.lang.String |
getPackagePrefix()
Returns the package prefix. |
java.lang.String |
getProxyAmbassadorName()
Returns the (unprefixed) name of the proxy ambassador class. |
java.io.File |
getTargetDirectory()
Returns the target directory in which to place generated source files. |
static void |
main(java.lang.String[] args)
The application entry point. |
void |
setFederationDescriptionDocument(java.io.File pFederationDescriptionDocument)
Sets the location of the federation description document. |
void |
setInteractionListenerName(java.lang.String pInteractionListenerName)
Sets the (unprefixed) name of the interaction listener interface. |
void |
setPackagePrefix(java.lang.String pPackagePrefix)
Sets the package prefix. |
void |
setProxyAmbassadorName(java.lang.String pProxyAmbassadorName)
Sets the (unprefixed) name of the proxy ambassador class. |
void |
setTargetDirectory(java.io.File pTargetDirectory)
Sets the target directory in which to place generated source files. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ProxyCompiler()
| Method Detail |
public static void main(java.lang.String[] args)
args - the command line argumentspublic void setFederationDescriptionDocument(java.io.File pFederationDescriptionDocument)
pFederationDescriptionDocument - the location of the federation description
documentpublic java.io.File getFederationDescriptionDocument()
public void setTargetDirectory(java.io.File pTargetDirectory)
pTargetDirectory - the target directory in which to place generated source filespublic java.io.File getTargetDirectory()
public void setPackagePrefix(java.lang.String pPackagePrefix)
pPackagePrefix - the package prefixpublic java.lang.String getPackagePrefix()
public void setProxyAmbassadorName(java.lang.String pProxyAmbassadorName)
pProxyAmbassadorName - the (unprefixed) name of the proxy ambassador classpublic java.lang.String getProxyAmbassadorName()
public void setInteractionListenerName(java.lang.String pInteractionListenerName)
pInteractionListenerName - the (unprefixed) name of the interaction listener
interfacepublic java.lang.String getInteractionListenerName()
public void compileProxies()
throws CouldNotOpenFDD,
ErrorReadingFDD,
TypeConflictException
CouldNotOpenFDD - if the federation description document could not be opened
ErrorReadingFDD - if the federation description document is invalid
TypeConflictException - if a type conflict is encountered
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||