com.wiley.posa3.lazyacquisition
Class ResourceX

java.lang.Object
  extended bycom.wiley.posa3.lazyacquisition.ResourceX
All Implemented Interfaces:
Resource

public class ResourceX
extends java.lang.Object
implements Resource

ResourceX is a resource whose acquisition is intercepted by the ResourceProxy and is acquired only when the user tries to access the resource.

Version:
1.0
Author:
Michael Kircher, Prashant Jain

Constructor Summary
ResourceX()
           
 
Method Summary
 Identity getId()
          Get the identity of this resource
 void method1()
          Some generic method.
 void method2()
          Some generic method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceX

public ResourceX()
Method Detail

getId

public Identity getId()
Get the identity of this resource

Specified by:
getId in interface Resource
Returns:
The identity of this resource

method1

public void method1()
Some generic method.

Specified by:
method1 in interface Resource

method2

public void method2()
Some generic method.

Specified by:
method2 in interface Resource


Copyright 2004 John Wiley and Sons. All Rights Reserved.