org.logicblaze.lingo
Class MetadataStrategyHelper

java.lang.Object
  extended by org.logicblaze.lingo.MetadataStrategyHelper

public class MetadataStrategyHelper
extends Object

A helper class for working with MetadataStrategy instances

Version:
$Revision$

Constructor Summary
MetadataStrategyHelper()
           
 
Method Summary
protected static Class findClass(String name)
           
protected static Class findMetadataStrategyClass()
           
static MetadataStrategy newInstance()
          Creates a new default instance of MetadataStrategy.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetadataStrategyHelper

public MetadataStrategyHelper()
Method Detail

newInstance

public static MetadataStrategy newInstance()
Creates a new default instance of MetadataStrategy. On Java 5 if you have the SCA Annotations on the classpath then this will use the SCAMetadataStrategy by default; otherwise the SimpleMetadataStrategy is used.

Returns:
a newly created instance

findMetadataStrategyClass

protected static Class findMetadataStrategyClass()

findClass

protected static Class findClass(String name)


Copyright © 2012 LogicBlaze, Inc.. All Rights Reserved.