private ResourceInfo createResourceInfo ( ResourceInjectionBinding resourceBinding ) // F48603.9 { J2EEName j2eeName = ivNameSpaceConfig . getJ2EEName ( ) ; Resource resourceAnnotation = resourceBinding . getAnnotation ( ) ; return new ResourceInfo ( j2eeName == null ? null : j2eeName . getApplication ( ) , j2eeName == null ? null : j2eeName . getModule ( ) , // TODO: This should be j2eeName.getComponent(), but at least // SIP is known to improperly depend on this being the module // name without ".war". ivNameSpaceConfig . getDisplayName ( ) , resourceBinding . getJndiName ( ) , resourceBinding . getInjectionClassTypeName ( ) , resourceAnnotation . authenticationType ( ) , resourceAnnotation . shareable ( ) , resourceBinding . ivLink , getResourceRefConfig ( resourceBinding , resourceBinding . getJndiName ( ) , null ) ) ; }
Creates a ResourceInfo for a binding .