org.apache.commons.proxy.provider
Class CountingProvider

java.lang.Object
  extended by org.apache.commons.proxy.provider.ProviderDecorator
      extended by org.apache.commons.proxy.provider.CountingProvider
All Implemented Interfaces:
org.apache.commons.proxy.ObjectProvider

public class CountingProvider
extends org.apache.commons.proxy.provider.ProviderDecorator

Since:
1.0
Author:
James Carman

Field Summary
 
Fields inherited from class org.apache.commons.proxy.provider.ProviderDecorator
inner
 
Constructor Summary
CountingProvider(org.apache.commons.proxy.ObjectProvider inner)
           
 
Method Summary
 int getCount()
           
 Object getObject()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CountingProvider

public CountingProvider(org.apache.commons.proxy.ObjectProvider inner)
Method Detail

getObject

public Object getObject()
Specified by:
getObject in interface org.apache.commons.proxy.ObjectProvider
Overrides:
getObject in class org.apache.commons.proxy.provider.ProviderDecorator

getCount

public int getCount()


Copyright © 2005-2009 Apache Software Foundation. All Rights Reserved.