com.ebmwebsourcing.wsstar.notification.extension
Class WSNotificationExtensionFactory

java.lang.Object
  extended by com.ebmwebsourcing.wsstar.notification.extension.WSNotificationExtensionFactory
Direct Known Subclasses:
WSNotificationExtensionFactoryImpl

public abstract class WSNotificationExtensionFactory
extends java.lang.Object

This abstract class defines a factory API that enables applications to obtain a Factory capable of producing new Definitions, new Reader, and new Writer. Note : This class is implemented respect to the "Singleton design pattern". The solution of Bill Pugh - University of Maryland - has been used, because it supposed to be "thread-safe" without requiring special language constructs (i.e. volatile or synchronized). For more details, see : http://en.wikipedia.org/wiki/Singleton_pattern

Author:
Thierry Déjean - eBM WebSourcing

Field Summary
protected  ObjectFactory specificExtendedTypesFactory
           
 
Constructor Summary
protected WSNotificationExtensionFactory()
           
 
Method Summary
abstract  ContextPolicyType createContextPolicyType()
          Create an instance of the ContextPolicyType class
abstract  ProcessPolicyType createProcessPolicyType()
          Create an instance of the ProcessPolicyType class
abstract  ResourcesUuidType createResourcesUuidType()
          Create an instance of the ResourcesUuidType class
abstract  SOAParameterType createSOAParameterType()
          Create an instance of the SOAParameterType class
abstract  TerminationTimeType createTerminationTimeType()
          Create an instance of the TerminationTimeType class
abstract  XsltStyleSheetType createXsltStyleSheetType()
          Create an instance of the XsltStyleSheetType class
static WSNotificationExtensionFactory getInstance()
          Return an unique - respect to the Singleton design pattern - instance of the WSNotificationExtensionFactory class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

specificExtendedTypesFactory

protected ObjectFactory specificExtendedTypesFactory
Constructor Detail

WSNotificationExtensionFactory

protected WSNotificationExtensionFactory()
Method Detail

getInstance

public static WSNotificationExtensionFactory getInstance()
Return an unique - respect to the Singleton design pattern - instance of the WSNotificationExtensionFactory class. Getting this object type is the first step to build all others "WS-Notification Extended types objects" and Reader/Writer objects.

Returns:
a unique WSNotificationFactory instance.

createSOAParameterType

public abstract SOAParameterType createSOAParameterType()
                                                 throws WSNotificationExtensionException
Create an instance of the SOAParameterType class

Returns:
a new SOAParameterType object
Throws:
WSNotificationExtensionException

createResourcesUuidType

public abstract ResourcesUuidType createResourcesUuidType()
                                                   throws WSNotificationExtensionException
Create an instance of the ResourcesUuidType class

Returns:
a new ResourcesUuidType object
Throws:
WSNotificationExtensionException

createProcessPolicyType

public abstract ProcessPolicyType createProcessPolicyType()
                                                   throws WSNotificationExtensionException
Create an instance of the ProcessPolicyType class

Returns:
a new ProcessPolicyType object
Throws:
WSNotificationExtensionException

createContextPolicyType

public abstract ContextPolicyType createContextPolicyType()
                                                   throws WSNotificationExtensionException
Create an instance of the ContextPolicyType class

Returns:
a new ContextPolicyType object
Throws:
WSNotificationExtensionException

createXsltStyleSheetType

public abstract XsltStyleSheetType createXsltStyleSheetType()
                                                     throws WSNotificationExtensionException
Create an instance of the XsltStyleSheetType class

Returns:
a new XsltStyleSheetType object
Throws:
WSNotificationExtensionException

createTerminationTimeType

public abstract TerminationTimeType createTerminationTimeType()
                                                       throws WSNotificationExtensionException
Create an instance of the TerminationTimeType class

Returns:
a new TerminationTimeType object class
Throws:
WSNotificationExtensionException


Copyright © 2009-2010 eBM Websourcing. All Rights Reserved.