org.csapi.jr.se.fw
Class InitialFactory

java.lang.Object
  extended byorg.csapi.jr.se.fw.InitialFactory

public class InitialFactory
extends java.lang.Object

This factory class allows applications to obtain proprietary peer API objects.
The term "peer" is Java nomenclature for a particular platform-specific implementation of a Java interface.


Method Summary
 Initial createInitial(java.lang.String initialPeerReference)
          This method creates a new instance of the Initial
 void destroyInitial(Initial initialInstance)
          This method destroys the initial instance
 java.lang.String getImplementationClassName()
          This method gets a new implementation class name
static InitialFactory getInstance()
          This method gets a new instance
static void setImplementationClassName(java.lang.String _className)
          This method sets a new implementation class name
static void setLocale(java.lang.String language, java.lang.String country)
          This method sets a locale
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createInitial

public Initial createInitial(java.lang.String initialPeerReference)
                      throws PeerUnavailableException,
                             ResourcesUnavailableException,
                             InvalidArgumentException
This method creates a new instance of the Initial

Parameters:
initialPeerReference - reference to the initial
Returns:
the instance of the factory object
Throws:
PeerUnavailableException - if access to an implementation of the Initial interface has failed
ResourcesUnavailableException - if a physical resource in the network is not available
InvalidArgumentException - if an invalid argument is set

getInstance

public static InitialFactory getInstance()
This method gets a new instance


getImplementationClassName

public java.lang.String getImplementationClassName()
This method gets a new implementation class name


setImplementationClassName

public static void setImplementationClassName(java.lang.String _className)
This method sets a new implementation class name


setLocale

public static void setLocale(java.lang.String language,
                             java.lang.String country)
This method sets a locale


destroyInitial

public void destroyInitial(Initial initialInstance)
This method destroys the initial instance

Parameters:
initialInstance - reference to the initial instance