com.gargoylesoftware.base.resource
Interface ManagedResource

All Known Implementing Classes:
ConnectionWrapper

public interface ManagedResource

Objects that implement this interface can be returned from a ResourceFactory

Version:
$Revision: 1.5 $
Author:
Mike Bowler

Method Summary
 java.lang.String getResourceFactoryName()
          Return the name of the resource factory that allocated this object
 void setResourceFactoryName(java.lang.String name)
          Set the name of the resource factory that allocated this resource
 

Method Detail

setResourceFactoryName

void setResourceFactoryName(java.lang.String name)
Set the name of the resource factory that allocated this resource

Parameters:
name - The new name

getResourceFactoryName

java.lang.String getResourceFactoryName()
Return the name of the resource factory that allocated this object

Returns:
The name