public interface BSServiceDistributionGenerator (Code)
This interface offers operations dealing with code generation of the servicemodule
distribution layer. It assumes that servicemodule layer interface has been generated elsewhere.
The distribution layer consists of client and server code for all services and eventpublishers found in the servicemodule
getEventPublishersClientImplementationPackageName(String pServicemoduleRef) Returns the name of the client implementation package for distribution of the event publishers (for use in jndi mapping)
client is the package offered to others as implementation of the servicemodule interface.
getEventPublishersServerImplementationPackageName(String pServicemoduleRef) Returns the name of the server implementation package for distribution of the event publishers (for use in jndi mapping)
server is the package from which connection to the servicemodule is made.
getRequiredAdapters() 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.
getServicesClientImplementationPackageName(String pServicemoduleRef) Returns the name of the client implementation package for distribution of the services (for use in jndi mapping)
client is the package offered to others as implementation of the servicemodule interface.
getServicesServerImplementationPackageName(String pServicemoduleRef) Returns the name of the server implementation package for distribution of the services (for use in jndi mapping)
server is the package from which connection to the servicemodule is made.
public void generateImplementationSourceCodeForServicemodule(String pGenerationDirectoryPath, String pServicemoduleRef) throws BSException(Code)
Generates servicemodule distribution implementation sourcecode for the particular servicemodule within particular enterprise
Parameters: pGenerationDirectoryPath - directory to generate code to Parameters: pServicemoduleRef - servicemodule to generate code for
generateImplementationSourceCodeForSystem
public void generateImplementationSourceCodeForSystem(String pGenerationDirectoryPath, String pSystemRef) throws BSException(Code)
Generates servicemodule distribution implementation sourcecode for the particular system within particular enterprise
Parameters: pGenerationDirectoryPath - directory to generate code to Parameters: pSystemRef - system to generate code for
Returns the name of the client implementation package for distribution of the event publishers (for use in jndi mapping)
client is the package offered to others as implementation of the servicemodule interface. Can be the same as server package
Parameters: pServicemoduleRef - servicemodule to generate code for
Returns the name of the implementation package for distribution of the event publishers. This package is the
root package for the package hierarchy generated by distribution generator. This hierarchy
includes separate event publishers client and event publishers server packages (must be separate for use in jndi mapping).
It also may include other subpackages (really depends on generator syntax)
Parameters: pServicemoduleRef - servicemodule to return package name for
Returns the name of the server implementation package for distribution of the event publishers (for use in jndi mapping)
server is the package from which connection to the servicemodule is made. Can be the same as client package
Parameters: pServicemoduleRef - servicemodule to generate code for
Returns the name of the client implementation package for distribution of the services (for use in jndi mapping)
client is the package offered to others as implementation of the servicemodule interface. Can be the same as server package
Parameters: pServicemoduleRef - servicemodule to generate code for
Returns the name of the implementation package for distribution of the services. This package is the
root package for the package hierarchy generated by distribution generator. This hierarchy
includes separate services client and services server packages (must be separate for use in jndi mapping).
It also may include other subpackages (really depends on generator syntax)
Parameters: pServicemoduleRef - servicemodule to return package name for
Returns the name of the server implementation package for distribution of the services (for use in jndi mapping)
server is the package from which connection to the servicemodule is made. Can be the same as client package
Parameters: pServicemoduleRef - servicemodule to generate code for