Skip to end of metadata
Go to start of metadata

First, let us define the schema for our subsystem. Rename src/main/resources/schema/mysubsystem.xsd to src/main/resources/schema/acme.xsd. Then open acme.xsd and modify it to the following

Note that we modified the xmlns and targetNamespace values to urn.com.acme.corp.tracker:1.0. Our new subsystem element has a child called deployment-types, which in turn can have zero or more children called deployment-type. Each deployment-type has a required suffix attribute, and a tick attribute which defaults to 10000.

Now modify the com.acme.corp.tracker.extension.SubsystemExtension class to contain the new namespace.

Labels:
None
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.