org.ow2.util.pool.impl
Class PoolConfigurationHelper

java.lang.Object
  extended by org.ow2.util.pool.impl.PoolConfigurationHelper

public final class PoolConfigurationHelper
extends java.lang.Object

Helper class that extracts data from annotation and returns a PoolConfiguration object.

Author:
Florent BENOIT

Method Summary
static org.ow2.util.pool.api.IPoolConfiguration getConfiguration(org.ow2.util.pool.annotation.Pool poolAnnotation)
          Allow to return a configuration for the pool by extracting data from the Pool annotation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getConfiguration

public static org.ow2.util.pool.api.IPoolConfiguration getConfiguration(org.ow2.util.pool.annotation.Pool poolAnnotation)
Allow to return a configuration for the pool by extracting data from the Pool annotation.

Parameters:
poolAnnotation - the given Pool annotation to analyze
Returns:
a PoolConfiguration instance


Copyright © 2007-2009 OW2 Consortium. All Rights Reserved.