com.arjuna.wsc11
Class ContextFactoryMapper

java.lang.Object
  extended by com.arjuna.wsc11.ContextFactoryMapper

public class ContextFactoryMapper
extends Object

The context factory mapper.

Author:
kevin

Constructor Summary
protected ContextFactoryMapper()
          Default constructor
 
Method Summary
 void addContextFactory(String coordinationTypeURI, ContextFactory contextFactory)
          Add a context factory for the specified coordination type.
 ContextFactory getContextFactory(String coordinationTypeURI)
          Get the context factory for the specified coordination type.
static ContextFactoryMapper getMapper()
          Get the context factory mapper singleton.
 void removeContextFactory(String coordinationTypeURI)
          Remove the context factory for the specified coordination type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContextFactoryMapper

protected ContextFactoryMapper()
Default constructor

Method Detail

getMapper

public static ContextFactoryMapper getMapper()
Get the context factory mapper singleton.

Returns:
The context factory mapper singleton.

addContextFactory

public void addContextFactory(String coordinationTypeURI,
                              ContextFactory contextFactory)
Add a context factory for the specified coordination type.

Parameters:
coordinationTypeURI - The coordination type.
contextFactory - The context factory.

getContextFactory

public ContextFactory getContextFactory(String coordinationTypeURI)
Get the context factory for the specified coordination type.

Parameters:
coordinationTypeURI - The coordination type.
Returns:
The context factory.

removeContextFactory

public void removeContextFactory(String coordinationTypeURI)
Remove the context factory for the specified coordination type.

Parameters:
coordinationTypeURI - The coordination type.


Copyright © 2012. All Rights Reserved.