public final class ConfiguratorFactory
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.util.Collection<Configurator> |
getCachedConfigurator(java.lang.String key)
Returns the cached configurator instances for the given key
|
static Configurator |
getInstance()
Gets the configurator instance (System/Custom)
|
static Configurator |
getInstance(CentraSiteSession session,
Organization org)
Gets the Configurator instance for the given Connection/Organization
|
static Configurator |
getInstance(CentraSiteSession session,
User user)
Gets the Configurator instance for the given connection/user
|
static void |
removeCachedConfigurator(CentraSiteSession session,
java.lang.String key)
Removes the cached configurator instances
|
public static Configurator getInstance() throws CLLException
CLLException
- If an error occurs while getting the configurator instancepublic static Configurator getInstance(CentraSiteSession session, User user) throws CLLException
session
- The CentraSiteSession
instanceuser
- The User
objectConfigurator
instanceCLLException
- If an error occurs while getting the Configurator
instancepublic static Configurator getInstance(CentraSiteSession session, Organization org) throws CLLException
session
- The CentraSiteSession
instanceorg
- The Organization
objectConfigurator
instanceCLLException
- If an error occurs while getting the configurator instancepublic static java.util.Collection<Configurator> getCachedConfigurator(java.lang.String key)
key
- The key with which the cached instances are to be obtainedpublic static void removeCachedConfigurator(CentraSiteSession session, java.lang.String key)
session
- The CentraSiteSession
instancekey
- The key to remove the cached instances