/* 747 */ if (unadvisedMethod.getName().equals("getEJBMetaData"))
/* */ {
/* 749 */ Class remote = null;
/* 750 */ Class home = null;
/* 751 */ Class pkClass = Object.class;
/* 752 */ HomeHandleImpl homeHandle = null;
/* */
/* 754 */ Remote remoteAnnotation = (Remote)resolveAnnotation(Remote.class);
/* 755 */ if (remoteAnnotation != null)
/* 756 */ remote = remoteAnnotation.value()[0];
/* 757 */ RemoteHome homeAnnotation = (RemoteHome)resolveAnnotation(RemoteHome.class);
/* 758 */ if (homeAnnotation != null)
/* 759 */ home = homeAnnotation.value();
/* 760 */ RemoteBinding remoteBindingAnnotation = (RemoteBinding)resolveAnnotation(RemoteBinding.class);
/* 761 */ if (remoteBindingAnnotation != null) {
/* 762 */ homeHandle = new HomeHandleImpl(remoteBindingAnnotation.jndiBinding());
/* */ }
/* */
/* 765 */ EJBMetaDataImpl metadata = new EJBMetaDataImpl(remote, home, pkClass, true, false, homeHandle);
/* */
/* 768 */ InvocationResponse response = marshallResponse(statefulInvocation, metadata, null);
/* 769 */ return response;
/* */ }
/* 771 */ if (unadvisedMethod.getName().equals("getHomeHandle"))
/* */ {
/* 773 */ HomeHandleImpl homeHandle = null;
/* */
/* 775 */ RemoteBinding remoteBindingAnnotation = (RemoteBinding)resolveAnnotation(RemoteBinding.class);
/* 776 */ if (remoteBindingAnnotation != null) {
/* 777 */ homeHandle = new HomeHandleImpl(remoteBindingAnnotation.jndiBinding());
/* */ }
/* */
/* 781 */ InvocationResponse response = marshallResponse(statefulInvocation, homeHandle, null);
/* 782 */ return response;
/* */ }