/** * Get the name associated with the service group. * * @return The name String */ public String getServiceGroupName() { String srvGroupName = null; ServiceContext sc = (ServiceContext) getParent(); if (sc == null) { sc = metaParent; } if (sc != null) { srvGroupName = sc.getGroupName(); } return srvGroupName; }
/** * Get the name associated with the service group. * * @return The name String */ public String getServiceGroupName() { String srvGroupName = null; ServiceContext sc = (ServiceContext) getParent(); if (sc == null) { sc = metaParent; } if (sc != null) { srvGroupName = sc.getGroupName(); } return srvGroupName; }
String groupName = metaParent.getGroupName(); String serviceName = metaParent.getName();
String groupName = metaParent.getGroupName(); String serviceName = metaParent.getName();