org.springframework.jee.inject
Class ResourceInfo

java.lang.Object
  extended by org.springframework.jee.inject.BasicInjectionInfo
      extended by org.springframework.jee.inject.ResourceInfo
All Implemented Interfaces:
InjectionInfo

public class ResourceInfo
extends BasicInjectionInfo

JSR 250 resource information holder.

Author:
Rod Johnson, Costin Leau

Field Summary
 
Fields inherited from class org.springframework.jee.inject.BasicInjectionInfo
name, type
 
Constructor Summary
ResourceInfo(Resource annotation)
           
ResourceInfo(java.lang.String name, java.lang.Class type)
           
 
Method Summary
 java.lang.String getInjectionName()
          Logging friendly message indicating what type of injection is applied (i.e.
 
Methods inherited from class org.springframework.jee.inject.BasicInjectionInfo
getName, getType, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResourceInfo

public ResourceInfo(Resource annotation)

ResourceInfo

public ResourceInfo(java.lang.String name,
                    java.lang.Class type)
Method Detail

getInjectionName

public java.lang.String getInjectionName()
Description copied from interface: InjectionInfo
Logging friendly message indicating what type of injection is applied (i.e. @Resource or @EJB).

Specified by:
getInjectionName in interface InjectionInfo
Overrides:
getInjectionName in class BasicInjectionInfo


Copyright 2006 Interface21. All Rights Reserved.