|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.dobo.Dobo
public class Dobo
Dobo utilities of dobo.
| Method Summary | |
|---|---|
static void |
check(java.lang.Class<?> contextImplementationObject)
To check wether the ContextImplementationObject (CIO) conform the Context contract. |
static java.util.Set<java.lang.Class<? extends java.lang.annotation.Annotation>> |
findAllContextInContextImplementationObject(java.lang.Class<?> contextImplementationObject)
Find all context in ContextImplementationObject. |
static java.lang.Class<? extends java.lang.annotation.Annotation> |
getContextMemberMatchWith(java.lang.Class<? extends java.lang.annotation.Annotation> context,
java.lang.reflect.Method contextInterfaceMethod)
To Find ContextMember match with Context Interface Method.Return null if no ContextMember found. |
static java.lang.reflect.Field |
getFieldAnnotatedWith(java.lang.Class<? extends java.lang.annotation.Annotation> contextMember,
java.lang.Class<?> contextImplementationObject)
To Find a Field in Context Implementation Object which annotated with Context Member. |
static java.lang.reflect.Method |
getInterfaceMethodMatchWith(java.lang.String name,
java.lang.Class<?>[] parameterType,
java.lang.Class<?> contextInterface)
To find a method in Context Interface which match with the ContextMemberMethod. |
static java.lang.reflect.Method |
getMethodAnnotatedWith(java.lang.Class<? extends java.lang.annotation.Annotation> contextMember,
java.lang.Class<?> contextImplementationObject)
To find method which is annotated with a Context Member. |
static java.lang.Object |
instantiate(java.lang.Object contextImplementationObject,
java.lang.Class<? extends java.lang.annotation.Annotation> context)
Instantiate Context Implementation Object Proxy according to Context Implementation Object. |
static void |
main(java.lang.String[] args)
Creating context template |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void check(java.lang.Class<?> contextImplementationObject)
contextImplementationObject - clazz of Context Implementation Object.public static java.util.Set<java.lang.Class<? extends java.lang.annotation.Annotation>> findAllContextInContextImplementationObject(java.lang.Class<?> contextImplementationObject)
contextImplementationObject -
public static java.lang.reflect.Method getMethodAnnotatedWith(java.lang.Class<? extends java.lang.annotation.Annotation> contextMember,
java.lang.Class<?> contextImplementationObject)
contextMember - contextImplementationObject -
public static java.lang.reflect.Field getFieldAnnotatedWith(java.lang.Class<? extends java.lang.annotation.Annotation> contextMember,
java.lang.Class<?> contextImplementationObject)
contextMember - contextImplementationObject -
public static java.lang.Object instantiate(java.lang.Object contextImplementationObject,
java.lang.Class<? extends java.lang.annotation.Annotation> context)
contextImplementationObject - context -
public static java.lang.reflect.Method getInterfaceMethodMatchWith(java.lang.String name,
java.lang.Class<?>[] parameterType,
java.lang.Class<?> contextInterface)
contextMemberMethod - contextInterface -
public static java.lang.Class<? extends java.lang.annotation.Annotation> getContextMemberMatchWith(java.lang.Class<? extends java.lang.annotation.Annotation> context,
java.lang.reflect.Method contextInterfaceMethod)
context - contextInterfaceMethod -
public static void main(java.lang.String[] args)
args -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||