Class ResourceRef

All Implemented Interfaces:
Serializable, Cloneable

public class ResourceRef extends AbstractRef
Represents a reference address to a resource.
Author:
Remy Maucherat
See Also:
  • Field Details

  • Constructor Details

    • ResourceRef

      public ResourceRef(String resourceClass, String description, String scope, String auth, boolean singleton)
      Resource Reference.
      Parameters:
      resourceClass - Resource class
      description - Description of the resource
      scope - Resource scope
      auth - Resource authentication
      singleton - Is this resource a singleton (every lookup should return the same instance rather than a new instance)?
    • ResourceRef

      public ResourceRef(String resourceClass, String description, String scope, String auth, boolean singleton, String factory, String factoryLocation)
      Resource Reference.
      Parameters:
      resourceClass - Resource class
      description - Description of the resource
      scope - Resource scope
      auth - Resource authentication
      singleton - Is this resource a singleton (every lookup should return the same instance rather than a new instance)?
      factory - The possibly null class name of the object's factory.
      factoryLocation - The possibly null location from which to load the factory (e.g. URL)
  • Method Details