ObjectName cssBean;
if (remoteRef.isSetCssName()) {
cssBean = ObjectName.getInstance(getStringValue(remoteRef.getCssName()));
} else if (remoteRef.isSetCssLink()) {
String cssLink = remoteRef.getCssLink().trim();
cssBean = refContext.locateComponent(cssLink, NameFactory.CORBA_CSS, j2eeContext, earContext, "css gbean");
} else {
GerCssType css = remoteRef.getCss();
cssBean = NameFactory.getComponentName(getStringValue(css.getDomain()),
getStringValue(css.getServer()),
getStringValue(css.getApplication()),