1008N/A ! The contents of this file are subject to the terms of the 1008N/A ! Common Development and Distribution License, Version 1.0 only 1008N/A ! (the "License"). You may not use this file except in compliance 1008N/A ! See the License for the specific language governing permissions 1008N/A ! and limitations under the License. 1008N/A ! When distributing Covered Code, include this CDDL HEADER in each 6983N/A ! If applicable, add the following below this CDDL HEADER, with the 6983N/A ! fields enclosed by brackets "[]" replaced with your own identifying 1008N/A ! Portions Copyright [yyyy] [name of copyright owner] 3215N/A ! Copyright 2008 Sun Microsystems, Inc. 1008N/A <
xsl:
output method="text" encoding="us-ascii" />
1008N/A Global parameter: the sub-package name. Either 'meta', 'client', or 'server'. 1008N/A <
xsl:
param name="type" select="'.'" />
1008N/A Main document parsing template. 1008N/A <
xsl:
call-
template name="copyright-notice" />
1008N/A <
xsl:
value-
of select="'/**
'" />
1008N/A <
xsl:
when test="$type='meta'">
1008N/A <
xsl:
call-
template name="add-java-comment">
1008N/A <
xsl:
with-
param name="indent-text" select="' *'" />
1008N/A <
xsl:
with-
param name="content" 1008N/A select="concat('Provides introspection interfaces for the ', 2307N/A ' This package provides access to meta-', 1008N/A 'information about the managed objects, their ', 1008N/A 'properties, their relationships with other ', 1008N/A 'managed objects, and their inheritance model.')" />
1008N/A <
xsl:
when test="$type='client'">
1008N/A <
xsl:
call-
template name="add-java-comment">
1008N/A <
xsl:
with-
param name="indent-text" select="' *'" />
1008N/A <
xsl:
with-
param name="content" 1008N/A select="concat('Provides client-side interfaces for querying ', 1008N/A ' Applications can use the interfaces defined ', 1008N/A 'within this package to retrieve, list, create, ', 1008N/A 'and remove managed objects, as well as query ', 1008N/A 'and update their properties.')" />
1008N/A <
xsl:
when test="$type='server'">
1008N/A <
xsl:
call-
template name="add-java-comment">
1008N/A <
xsl:
with-
param name="indent-text" select="' *'" />
1008N/A <
xsl:
with-
param name="content" 1008N/A select="concat('Provides server-side interfaces for accessing ', 1008N/A ' Components within the server can use the ', 1008N/A 'interfaces defined within this package to query ', 1008N/A 'the properties of the managed objects and ', 1008N/A 'register to be notified when managed objects are ', 1008N/A 'added, removed, or modified.')" />
1008N/A <
xsl:
message terminate="yes">
1008N/A select="concat('Invalid package-info sub-package name: ', $type)" />
1008N/A <
xsl:
value-
of select="' */
'" />
2307N/A ' mayInstantiate=false,
', 2307N/A ' mayInvoke=true)
')"/>
1008N/A select="concat('package ', adm:package/@name, '.', $type, ';
')" />