Novell exteNd
Director 5.2 API

com.sssw.cm.client
Class EboFactory

java.lang.Object
 |
 +--com.sssw.cm.client.EboFactory
All Implemented Interfaces:
EbiDelegateConstants, Serializable

public class EboFactory
extends Object
implements Serializable, EbiDelegateConstants

This is the CM Delegate factory class that manages CM Delegates.

See Also:
Serialized Form

Fields inherited from interface com.sssw.cm.api.EbiDelegateConstants
DELEGATE_CONTENT, DELEGATE_HELPER, DELEGATE_TASK
 
Constructor Summary
EboFactory()
           
 
Method Summary
static EbiContentMgmtDelegate getContentMgmtDelegateById(String repID)
          Gets an EbiContentMgmtDelegate object associated with a repository.
static EbiContentMgmtDelegate getContentMgmtDelegateById(String repID, String serviceLocation)
          Gets an EbiContentMgmtDelegate object.
static EbiContentMgmtDelegate getContentMgmtDelegateByName(String repName)
          Gets an EbiContentMgmtDelegate object associated with a Repository.
static EbiContentMgmtDelegate getContentMgmtDelegateByName(String repName, String serviceLocation)
          Gets an EbiContentMgmtDelegate object by Repository name and a service location.
static EbiContentMgmtDelegate getDefaultContentMgmtDelegate()
          Gets an EbiContentMgmtDelegate object associated with default repository.
static EbiContentMgmtDelegate getDefaultContentMgmtDelegate(String serviceLocation)
          Gets an EbiRepositoryDelegate object associated with default repository This factory method is used to force explicit creation of a local or remote service delegate.
static com.sssw.cm.api.EbiRepositoryDelegate getRepositoryDelegate()
          Gets an EbiRepositoryDelegate object.
static com.sssw.cm.api.EbiRepositoryDelegate getRepositoryDelegate(String serviceLocation)
          Gets an EbiRepositoryDelegate object.
static EbiContentMgmtDelegate getSystemContentMgmtDelegate()
          Gets an EbiContentMgmtDelegate object associated with the System Repository.
static EbiContentMgmtDelegate getSystemContentMgmtDelegate(String serviceLocation)
          Gets an EbiRepositoryDelegate object associated with system repository This factory method is used to force explicit creation of a local or remote service delegate.
static EbiTaskMgmtDelegate getTaskMgmtDelegate(String repositoryID)
          Gets an EbiTaskMgmtDelegate object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EboFactory

public EboFactory()
Method Detail

getRepositoryDelegate

public static com.sssw.cm.api.EbiRepositoryDelegate getRepositoryDelegate()
                                                                   throws EboFactoryException
Gets an EbiRepositoryDelegate object.
Returns:
an EbiRepositoryDelegate object

getRepositoryDelegate

public static com.sssw.cm.api.EbiRepositoryDelegate getRepositoryDelegate(String serviceLocation)
                                                                   throws EboFactoryException
Gets an EbiRepositoryDelegate object. This factory method is used to force explicit creation of a local or remote service delegate.
Parameters:
serviceLocation - the service location; valid service location values are defined in com.sssw.fw.api.EbiDelegate.
Returns:
an EbiRepositoryDelegate object

getContentMgmtDelegateById

public static EbiContentMgmtDelegate getContentMgmtDelegateById(String repID)
                                                         throws EboFactoryException
Gets an EbiContentMgmtDelegate object associated with a repository.
Parameters:
repID - the Repository ID associated with the delegate
Returns:
an EbiContentMgmtDelegate object

getContentMgmtDelegateById

public static EbiContentMgmtDelegate getContentMgmtDelegateById(String repID,
                                                                String serviceLocation)
                                                         throws EboFactoryException
Gets an EbiContentMgmtDelegate object. This factory method is used to force explicit creation of a local or remote service delegate.
Parameters:
serviceLocation - the service location; valid service location values are defined in com.sssw.fw.api.EbiDelegate.
repID - the repository id associated with the delegate
Returns:
an EbiContentMgmtDelegate object

getContentMgmtDelegateByName

public static EbiContentMgmtDelegate getContentMgmtDelegateByName(String repName)
                                                           throws EboFactoryException
Gets an EbiContentMgmtDelegate object associated with a Repository.
Parameters:
repName - the repository name associated with the delegate
Returns:
an EbiContentMgmtDelegate object

getContentMgmtDelegateByName

public static EbiContentMgmtDelegate getContentMgmtDelegateByName(String repName,
                                                                  String serviceLocation)
                                                           throws EboFactoryException
Gets an EbiContentMgmtDelegate object by Repository name and a service location. This factory method is used to force explicit creation of a local or remote service delegate.
Parameters:
serviceLocation - the service location; valid service location values are defined in com.sssw.fw.api.EbiDelegate
repName - the repository name associated with the delegate
Returns:
an EbiContentMgmtDelegate object

getSystemContentMgmtDelegate

public static EbiContentMgmtDelegate getSystemContentMgmtDelegate()
                                                           throws EboFactoryException
Gets an EbiContentMgmtDelegate object associated with the System Repository.
Returns:
an EbiContentMgmtDelegate object

getSystemContentMgmtDelegate

public static EbiContentMgmtDelegate getSystemContentMgmtDelegate(String serviceLocation)
                                                           throws EboFactoryException
Gets an EbiRepositoryDelegate object associated with system repository This factory method is used to force explicit creation of a local or remote service delegate.
Parameters:
serviceLocation - the service location; valid service location values are defined in com.sssw.fw.api.EbiDelegate.
Returns:
an EbiContentMgmtDelegate object.

getDefaultContentMgmtDelegate

public static EbiContentMgmtDelegate getDefaultContentMgmtDelegate()
                                                            throws EboFactoryException
Gets an EbiContentMgmtDelegate object associated with default repository.
Returns:
an EbiContentMgmtDelegate object.

getDefaultContentMgmtDelegate

public static EbiContentMgmtDelegate getDefaultContentMgmtDelegate(String serviceLocation)
                                                            throws EboFactoryException
Gets an EbiRepositoryDelegate object associated with default repository This factory method is used to force explicit creation of a local or remote service delegate.
Parameters:
serviceLocation - the service location; valid service location values are defined in com.sssw.fw.api.EbiDelegate
Returns:
an EbiContentMgmtDelegate object

getTaskMgmtDelegate

public static EbiTaskMgmtDelegate getTaskMgmtDelegate(String repositoryID)
                                               throws EboFactoryException
Gets an EbiTaskMgmtDelegate object.
Parameters:
repositoryID - the Repository ID
Returns:
EbiTaskMgmtDelegate

Novell exteNd
Director 5.2 API