org.obligate.annotations.contract
Annotation Type FactoryImplementation


@Retention(value=RUNTIME)
public @interface FactoryImplementation

Factory implementation approach takes a class and method which return an actual instance (e.g. an EJB Utility class) and that take NO parameters.

Since:
23-Jan-2006
Author:
Steve Jones

Required Element Summary
 java.lang.Class factoryClass
           
 java.lang.String factoryMethodName
           
 

Element Detail

factoryClass

public abstract java.lang.Class factoryClass

factoryMethodName

public abstract java.lang.String factoryMethodName