com.atlassian.jira.startup
Class SystemTenant

java.lang.Object
  extended by com.atlassian.jira.startup.SystemTenant
All Implemented Interfaces:
com.atlassian.multitenant.impl.TenantComponentMap, com.atlassian.multitenant.Tenant

public class SystemTenant
extends Object
implements com.atlassian.multitenant.impl.TenantComponentMap

Since:
v4.4

Method Summary
<B> B
getConfig(Class<B> beanClazz)
           
 String getHomeDir()
           
 Collection<String> getHostnames()
           
 String getName()
           
<T> T
getObject(com.atlassian.multitenant.MultiTenantComponentMap<T> key)
           
 boolean hasObject(com.atlassian.multitenant.MultiTenantComponentMap key)
           
 void putConfig(Class configClass, Object configObject)
           
<T> void
putObject(com.atlassian.multitenant.MultiTenantComponentMap<T> key, T value)
           
<T> T
removeObject(com.atlassian.multitenant.MultiTenantComponentMap<T> key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

putObject

public <T> void putObject(com.atlassian.multitenant.MultiTenantComponentMap<T> key,
                          T value)
Specified by:
putObject in interface com.atlassian.multitenant.impl.TenantComponentMap

hasObject

public boolean hasObject(com.atlassian.multitenant.MultiTenantComponentMap key)
Specified by:
hasObject in interface com.atlassian.multitenant.impl.TenantComponentMap

getObject

public <T> T getObject(com.atlassian.multitenant.MultiTenantComponentMap<T> key)
Specified by:
getObject in interface com.atlassian.multitenant.impl.TenantComponentMap

removeObject

public <T> T removeObject(com.atlassian.multitenant.MultiTenantComponentMap<T> key)
Specified by:
removeObject in interface com.atlassian.multitenant.impl.TenantComponentMap

getName

public String getName()
Specified by:
getName in interface com.atlassian.multitenant.Tenant

getHomeDir

public String getHomeDir()
Specified by:
getHomeDir in interface com.atlassian.multitenant.Tenant

getHostnames

public Collection<String> getHostnames()
Specified by:
getHostnames in interface com.atlassian.multitenant.Tenant

getConfig

public <B> B getConfig(Class<B> beanClazz)
Specified by:
getConfig in interface com.atlassian.multitenant.Tenant

putConfig

public void putConfig(Class configClass,
                      Object configObject)


Copyright © 2002-2012 Atlassian. All Rights Reserved.