| com.metaboss.sdlctools.services.codegeneration.BSServiceProxyGenerator
All known Subclasses: com.metaboss.sdlctools.services.codegeneration.serviceproxygenerator.datavalidationproxy.BSServiceProxyGeneratorImpl, com.metaboss.sdlctools.services.codegeneration.serviceproxygenerator.transactionmanagementproxy.BSServiceProxyGeneratorImpl,
BSServiceProxyGenerator | public interface BSServiceProxyGenerator (Code) | | This interface offers operations dealing with code generation of the service
proxies layer. Proxy is a plugin mechanism, which is both implementor of the interface and user
of the same interface. Using JNDI mapping configuration it is possible to "plug in" proxy
code in between service client and service implementation. Such proxy for example may
be used to write operations invocations log file or provide secure fence around operations.
This generator should assume that service interface has been generated elsewhere and can be obtained via
JNDI lookup.
|
COMPONENT_URL | final public static String COMPONENT_URL(Code) | | Naming URL of the component
|
generateSourceCodeForService | public void generateSourceCodeForService(String pGenerationDirectoryPath, String pServiceRef) throws BSException(Code) | | Generates service proxy implementation sourcecode for the particular service within particular enterprise
Parameters: pGenerationDirectoryPath - directory to generate code to Parameters: pServiceRef - service to generate proxy code for |
generateSourceCodeForServicemodule | public void generateSourceCodeForServicemodule(String pGenerationDirectoryPath, String pServiceModuleRef) throws BSException(Code) | | Generates service proxy implementation sourcecode for the particular whole servciemodule within particular enterprise
Parameters: pGenerationDirectoryPath - directory to generate code to Parameters: pServicemoduleRef - servicemodule to generate proxy code for |
getPackageNameForService | public String getPackageNameForService(String pServiceRef) throws BSException(Code) | | Returns the name of the package where proxy implementation code is generated to
Parameters: pServiceRef - service the proxy associated with |
getPackageNameForServicemodule | public String getPackageNameForServicemodule(String pServicemoduleRef) throws BSException(Code) | | Returns the name of the root package where proxy implementation code is generated to
Parameters: pServicemoduleRef - service the proxy associated with |
getRequiredAdapters | public String[] getRequiredAdapters() throws BSException(Code) | | array of names of adapters, which are required by this adapter,may be null or zero length array if this proxy generator is not relying on any adapter. |
|
|