blob: e7ed22b6f5b702aef544ee9ba1a56c4b5546c9af [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2012, 2018 Oracle and/or its affiliates. All rights reserved.
This program and the accompanying materials are made available under the
terms of the Eclipse Public License v. 2.0, which is available at
http://www.eclipse.org/legal/epl-2.0.
This Source Code may also be made available under the following Secondary
Licenses when the conditions for such availability set forth in the
Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
version 2 with the GNU Classpath Exception, which is available at
https://www.gnu.org/software/classpath/license.html.
SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
-->
<service-config>
<config-bundle
location="domain/configs/config[server-config]/simple-config-extension[simple-config-name]"
replace-if-exist="true">
<customization-tokens>
<customization-token
title="$token.title" name="CUSTOM_TOKEN"
default-value="token-default-value"
description="$token.description"/>
</customization-tokens>
<configuration-element
config-bean-class-name="com.sun.enterprise.config.modularity.tests.SimpleExtensionTypeOne">
<![CDATA[
<simple-extension-type-one attribute-one="${CUSTOM_TOKEN}" name="some.name">
</simple-extension-type-one>
]]>
</configuration-element>
</config-bundle>
<config-bundle location="domain/configs/config[server-config]" replace-if-exist="true">
<configuration-element config-bean-class-name="com.sun.enterprise.config.serverbeans.SystemProperty">
<![CDATA[
<system-property description="sample-desc" name="CONFIG_LEVEL_PROP" value="VALUE"></system-property>
]]>
</configuration-element>
</config-bundle>
</service-config>