@Bean
	public AdminAttributes adminAttributes() {
		AdminAttributes adminAttributes = new AdminAttributes();
		adminAttributes.setHost(RuntimeUtils.getHost()).setIp(RuntimeUtils.getIpAddress()).setPid(
				RuntimeUtils.getPid());
		return adminAttributes;
	}
Configuration class that holds the beans required for deployment management.

@author Ilayaperumal Gopinathan
spring-xd-dirt/src/main/java/org/springframework/xd/dirt/server/admin/deployment/zk/DeploymentConfiguration.java