public class RegistryBeanGeneratorImpl extends java.lang.Object implements RegistryBeanGenerator
RegistryEntry
implementation on basis object type name already present in CentraSite
Registry/Repository. In order to retrieve instance as stand alone client use RegistryBeanGeneratorFactory
. If
already established CSAF Session Context is present, instance can be retrieved out of it.RegistryBeanGeneratorFactory
RegistryBeanGenerator.ResultType
Constructor and Description |
---|
RegistryBeanGeneratorImpl(com.centrasite.jaxr.CentraSiteConnection connection)
Constructs a new object.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<RegistryBeanGenerator.ResultType,java.lang.String> |
generate(java.lang.String objectType,
java.lang.String interfacePackage,
java.lang.String implementationPackage)
Execute an xquery which generates the java code based on a template.
|
public RegistryBeanGeneratorImpl(com.centrasite.jaxr.CentraSiteConnection connection)
connection
- the centrasite connection.public java.util.Map<RegistryBeanGenerator.ResultType,java.lang.String> generate(java.lang.String objectType, java.lang.String interfacePackage, java.lang.String implementationPackage) throws CSAppFrameworkException
generate
in interface RegistryBeanGenerator
objectType
- QName of the object type.interfacePackage
- package name of the interface which will be generated.implementationPackage
- package name of the implementation which will be generated.CSAppFrameworkException
- if an internal error occurs.Queries