public class InstanceIdFactoryBeanTest extends org.springframework.beans.factory.config.AbstractFactoryBean<String>
The value for the instance id is determined in the following order of preferences:
instanceId
is set on this factory bean, that value will be used.KSBConstants.Config.INSTANCE_ID
has been set in the configuration context, that value will be used.In the case that the instance id is generated, the application id will be pulled
from the configuration context using the KSBConstants.Config.INSTANCE_ID
configuration parameter which
should always have a value.
Constructor and Description |
---|
InstanceIdFactoryBeanTest() |
Modifier and Type | Method and Description |
---|---|
protected String |
createInstance() |
Class<String> |
getObjectType() |
protected String |
loadInstanceIdFromConfig() |
void |
setInstanceId(String instanceId) |
public InstanceIdFactoryBeanTest()
public void setInstanceId(String instanceId)
protected String createInstance() throws Exception
protected String loadInstanceIdFromConfig()
public Class<String> getObjectType()
Copyright © 2005–2015 The Kuali Foundation. All rights reserved.