}
} //--naming != null;
} //--binding != null
if (_compBinding != null) {
ComponentBindingTypeChoice choice = _compBinding.getComponentBindingTypeChoice();
if (choice.getInterface() != null) {
_type = INTERFACE;
_interface = choice.getInterface();
} else if (choice.getJavaClass() != null) {
_type = CLASS;
_class = choice.getJavaClass();
} else if (choice.getMember() != null) {
_type = MEMBER;
_member = choice.getMember();
} else if (choice.getEnumDef() != null) {
_type = ENUM_TYPE;
_enum = choice.getEnumDef();
} else if (choice.getContentMember() != null) {
_type = CONTENT_MEMBER_TYPE;
_contentMemberName = choice.getContentMember().getName();
} else {
String err = "Illegal Binding component:";
err += "it does not define a class, an interface or a member binding.";
throw new IllegalStateException(err);
}