@SuppressWarnings("unchecked")
private Map.Entry<ServiceElement, OperationalStringManager> doLookupServiceEntry(String serviceName, String opstringName) {
Map.Entry<ServiceElement, OperationalStringManager> entry = null;
try {
DeployAdmin dAdmin = (DeployAdmin)monitor.getAdmin();
OperationalStringManager opMgr = dAdmin.getOperationalStringManager(opstringName);
OperationalString opstring = opMgr.getOperationalString();
ServiceElement serviceElement = null;
for(ServiceElement elem : opstring.getServices()) {
if(elem.getName().equals(serviceName)) {
serviceElement = elem;