Commit df127e1f authored by Jay Jay Billings's avatar Jay Jay Billings
Browse files

Bug 479184 - Fixed bug in the provider id.



I fixed the messed up provider id in the IJAXBClassProvider. I also
renamed the extension point and added documentation to the schema.
Signed-off-by: default avatarJay Jay Billings <billingsjj@ornl.gov>
parent b7a6c436
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
<extension-point id="jaxbClassProvider" name="JAXB Class Provider" schema="schema/jaxbClassProvider.exsd"/>
<extension-point id="org.eclipse.ice.datastructures.jaxbClassProvider" name="JAXB Class Provider" schema="schema/jaxbClassProvider.exsd"/>
<extension
id="iceJAXBClassProvider"
name="ICE JAXB Class Provider"
......
......@@ -6,7 +6,7 @@
<meta.schema plugin="org.eclipse.ice.datastructures" id="JAXBClassProvider" name="JAXB Class Provider"/>
</appinfo>
<documentation>
[Enter description of this extension point.]
This Extension Point can be used by clients to automatically provide a class to ICE&apos;s JAXB-based persistence services. Extensions must realize the IJAXBProvider interface from org.eclipse.ice.datastructures.jaxbclassprovider.
</documentation>
</annotation>
......
......@@ -25,12 +25,12 @@ import org.slf4j.LoggerFactory;
* The IJAXBClassProvider interface provides the methods necessary to inform
* clients creating a JAXBContext object of the relevant classes that must be
* known for succesfull marshalling/unmarshalling of XML data.
*
*
* Realizations of this interface must provide a valid name String that
* describes the realization and a valid set of Java Class objects representing
* the JAXB-annotated structures the JAXBContext must know about.
*
*
*
*
* @author Alex McCaskey
*
*/
......@@ -39,7 +39,7 @@ public interface IJAXBClassProvider {
/**
* Return the list of Classes that will be required in the creation of a
* JAXBContext.
*
*
* @return classList The list of Classes used in creating a JAXBContext
* object.
*/
......@@ -47,12 +47,12 @@ public interface IJAXBClassProvider {
/**
* Return the name of this IJAXBClassProvider.
*
*
* @return providerName The name of this IJAXBClassProvider
*/
public String getProviderName();
/**
* This operation pulls the list of JAXB class providers from the registry
......@@ -62,15 +62,15 @@ public interface IJAXBClassProvider {
* @throws CoreException
*/
public static IJAXBClassProvider[] getJAXBProviders() throws CoreException {
/**
* Logger for handling event messages and other information.
*/
Logger logger = LoggerFactory.getLogger(IJAXBClassProvider.class);
IJAXBClassProvider[] jaxbProviders = null;
String id = "org.eclipse.ice.item.itemBuilder";
String id = "org.eclipse.ice.datastructures.jaxbClassProvider";
IExtensionPoint point = Platform.getExtensionRegistry()
.getExtensionPoint(id);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment