eTypeClasses[0] = com.sun.star.uno.TypeClass.SERVICE;
XTypeDescriptionEnumeration xTDEnumeration = getXTypeDescriptionEnumerationAccess().createTypeDescriptionEnumeration(Introspector.getModuleName(_sServiceName), eTypeClasses, TypeDescriptionSearchDepth.INFINITE);
while (xTDEnumeration.hasMoreElements()) {
XTypeDescription xTD = xTDEnumeration.nextTypeDescription();
if (xTD.getName().equals(_sServiceName)){
XServiceTypeDescription xServiceTypeDescription = (XServiceTypeDescription) UnoRuntime.queryInterface(XServiceTypeDescription.class, xTD);
XServiceTypeDescription[] xMandatoryServiceTypeDescriptions = xServiceTypeDescription.getMandatoryServices();
int nlength = xMandatoryServiceTypeDescriptions.length;
sMandatoryServiceNames = new String[nlength];
for (int i = 0; i < nlength; i++){
sMandatoryServiceNames[i] = xMandatoryServiceTypeDescriptions[i].getName();
}