| | |
| | | ! CDDL HEADER END |
| | | ! |
| | | ! |
| | | ! Portions Copyright 2007 Sun Microsystems, Inc. |
| | | ! Portions Copyright 2007-2008 Sun Microsystems, Inc. |
| | | ! --> |
| | | <xsl:stylesheet version="1.0" xmlns:adm="http://www.opends.org/admin" |
| | | xmlns:admpp="http://www.opends.org/admin-preprocessor" |
| | |
| | | <xsl:text>{
</xsl:text> |
| | | </xsl:template> |
| | | <!-- |
| | | Template for generating the configuration definition getter. |
| | | Template for generating the configuration class getter. |
| | | --> |
| | | <xsl:template name="generate-configuration-definition-getter"> |
| | | <xsl:value-of |
| | | select="concat(' /**
', |
| | | ' * Get the configuration definition associated with this ', $this-ufn, '.
', |
| | | ' * Gets the configuration class associated with this ', $this-ufn, '.
', |
| | | ' *
', |
| | | ' * @return Returns the configuration definition associated with this ', $this-ufn, '.
', |
| | | ' * @return Returns the configuration class associated with this ', $this-ufn, '.
', |
| | | ' */
')" /> |
| | | <xsl:value-of |
| | | select="concat(' ManagedObjectDefinition<? extends ', $this-java-class,'CfgClient, ? extends ', $this-java-class,'Cfg> definition();
')" /> |
| | | select="concat(' Class<? extends ', $this-java-class,'Cfg> configurationClass();
')" /> |
| | | </xsl:template> |
| | | <!-- |
| | | Template for generating the change listener declaration. |
| | |
| | | <xsl:text>
</xsl:text> |
| | | <xsl:call-template name="generate-import-statements"> |
| | | <xsl:with-param name="imports"> |
| | | <xsl:element name="import"> |
| | | <xsl:value-of |
| | | select="concat($this-package, '.client.', $this-java-class, 'CfgClient')" /> |
| | | </xsl:element> |
| | | <xsl:for-each select="$this-local-properties"> |
| | | <xsl:call-template name="get-property-java-imports" > |
| | | <xsl:with-param name="interface" select="'server'" /> |
| | |
| | | org.opends.server.admin.server.ConfigurationDeleteListener |
| | | </import> |
| | | </xsl:if> |
| | | <import>org.opends.server.admin.ManagedObjectDefinition</import> |
| | | </xsl:with-param> |
| | | </xsl:call-template> |
| | | <xsl:text>
</xsl:text> |