Interface DeploymentImpl

All Superinterfaces:
Serializable
All Known Implementing Classes:
ParsedDeployments

public interface DeploymentImpl extends Serializable
defines a interface for handling a set of item deployments. normally this refers to all deployments of one extension.
  • Method Details

    • getJavaTypeMapping

      Map<String,String> getJavaTypeMapping(String database)
      Returns:
      a map { java class name -> column type as string } for the currently configured database ( see param 'database.name' )
    • getColumnDefinition

      String getColumnDefinition(String database, String javaClassName)
      Parameters:
      javaClassName - the cmp field class of a given cmp field attribute
      Returns:
      the sql column defintion for the current database
    • getItemDeployment

      ItemDeployment getItemDeployment(String beanID)
      Parameters:
      beanID - the deployment name of an item - should be package name + bean name from ejb-jar-xsl.xml
      Returns:
      a item deployment info object
    • getBeanIDs

      Set<String> getBeanIDs()
      Returns:
      all item deployment names available in this deployment