org.sourceprojects.xmlparser
Interface XmlParserOsgiFactory


public interface XmlParserOsgiFactory

Service interface for factory service in OSGi environments.

Since:
0.0.5
Author:
noctarius

Method Summary
<B> XmlParser<B>
newParserInstance()
          Returns a new instance of the XmlParser on OSGi environments
 ResourceResolver newResourceResolverInstance()
          Returns a new instance of the ResourceResolver on OSGi environments
 

Method Detail

newParserInstance

<B> XmlParser<B> newParserInstance()
                               throws XmlParserInitializationException
Returns a new instance of the XmlParser on OSGi environments

Type Parameters:
B - Type of ContextObject to use
Returns:
A new instance of XmlParser
Throws:
XmlParserInitializationException - If some exception occurs on initialization of the new instance the exception is wrapped into a XmlParserInitializationException

newResourceResolverInstance

ResourceResolver newResourceResolverInstance()
                                             throws XmlParserInitializationException
Returns a new instance of the ResourceResolver on OSGi environments

Returns:
A new instance of ResourceResolver
Throws:
XmlParserInitializationException - If some exception occurs on initialization of the new instance the exception is wrapped into a XmlParserInitializationException


Copyright © 2010. All Rights Reserved.