result.setCode("org.jboss.jms.server.destination.QueueService");
result.setXMBeanDD("xmdesc/Queue-xmbean.xml");
}
result.setObjectName(objectName);
ServiceAttributeMetaData attribute = new ServiceAttributeMetaData();
attribute.setName("JNDIName");
attribute.setValue(new ServiceTextValueMetaData(destinationName));
result.addAttribute(attribute);
attribute = new ServiceAttributeMetaData();
attribute.setName("ServerPeer");
attribute.setValue(new ServiceTextValueMetaData(serverPeerName));
result.addAttribute(attribute);
ServiceDependencyMetaData dependency = new ServiceDependencyMetaData();
dependency.setIDependOn(serverPeerName);
result.addDependency(dependency);