C G I M N P R S U V

C

cacheComposedObjects(Class, LinkedHashMap<Class, Object>) - Method in class com.smhumayun.mi_plus.impl.MIObjectInMemoryCache
Cache given composedObjects against given miContainerClass - access underlying cache in a synchronized, multi thread-safe way
cacheComposedObjects(Class, LinkedHashMap<Class, Object>) - Method in interface com.smhumayun.mi_plus.MIObjectCache
Cache given composedObjects against given miContainerClass
cacheMiContainerProxy(Class, Object) - Method in class com.smhumayun.mi_plus.impl.MIObjectInMemoryCache
Cache given miContainerProxy object against given miContainerClass
cacheMiContainerProxy(Class, Object) - Method in interface com.smhumayun.mi_plus.MIObjectCache
Cache given miContainerProxy object against given miContainerClass
com.smhumayun.mi_plus - package com.smhumayun.mi_plus
 
com.smhumayun.mi_plus.impl - package com.smhumayun.mi_plus.impl
 
com.smhumayun.mi_plus.util - package com.smhumayun.mi_plus.util
 

G

getCachedComposedObjects(Class) - Method in class com.smhumayun.mi_plus.impl.MIObjectInMemoryCache
Get cached Composed Objects against given miContainerClass - access underlying cache in a synchronized, multi thread-safe way
getCachedComposedObjects(Class) - Method in interface com.smhumayun.mi_plus.MIObjectCache
Get cached Composed Objects against given miContainerClass
getCachedMiContainerProxy(Class) - Method in class com.smhumayun.mi_plus.impl.MIObjectInMemoryCache
Get cached MI Container Proxy object against given miContainerClass
getCachedMiContainerProxy(Class) - Method in interface com.smhumayun.mi_plus.MIObjectCache
Get cached MI Container Proxy object against given miContainerClass
getClasses(Object[]) - Method in class com.smhumayun.mi_plus.util.Utils
Utility method to get array of classes against given set of objects
getLeft() - Method in class com.smhumayun.mi_plus.util.Pair
 
getMiMethodResolver() - Method in class com.smhumayun.mi_plus.MIFactory
Get method resolver
getMiObjectCache() - Method in class com.smhumayun.mi_plus.MIFactory
Get MIObjectCache
getRight() - Method in class com.smhumayun.mi_plus.util.Pair
 

I

isValidated(Class) - Method in class com.smhumayun.mi_plus.impl.MIObjectInMemoryCache
Returns true of the classToValidate has already been validated
isValidated(Class) - Method in interface com.smhumayun.mi_plus.MIObjectCache
Returns true of the classToValidate has already been validated

M

MIException - Exception in com.smhumayun.mi_plus
This exception will be thrown by other classes if they found any misconfiguration or errors related to MI
MIException() - Constructor for exception com.smhumayun.mi_plus.MIException
Constructs a new runtime exception with null as its detail message.
MIException(String) - Constructor for exception com.smhumayun.mi_plus.MIException
Constructs a new runtime exception with the specified detail message.
MIException(String, Throwable) - Constructor for exception com.smhumayun.mi_plus.MIException
Constructs a new runtime exception with the specified detail message and cause.
MIException(Throwable) - Constructor for exception com.smhumayun.mi_plus.MIException
Constructs a new runtime exception with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
MIFactory - Class in com.smhumayun.mi_plus
Factory for creating objects that supports MI
MIFactory() - Constructor for class com.smhumayun.mi_plus.MIFactory
Constructor which initializes this factory instance with a default MIObjectInMemoryCache and a default MIMethodResolverImpl
MIFactory(List<String>) - Constructor for class com.smhumayun.mi_plus.MIFactory
Constructor which initializes this factory instance with a default MIObjectInMemoryCache and a default MIMethodResolverImpl; and scans given packagesToScan to find and process classes annotated with MISupport annotation
MIFactory(MIObjectCache) - Constructor for class com.smhumayun.mi_plus.MIFactory
Constructor which initializes this factory instance with given miObjectCache and a default MIMethodResolverImpl
MIFactory(MIObjectCache, List<String>) - Constructor for class com.smhumayun.mi_plus.MIFactory
Constructor which initializes this factory instance with given miObjectCache and a default MIMethodResolverImpl; and scans given packagesToScan to find and process classes annotated with MISupport annotation
MIFactory(MIMethodResolver) - Constructor for class com.smhumayun.mi_plus.MIFactory
Constructor which initializes this factory instance with given miMethodResolver and a default MIObjectInMemoryCache
MIFactory(MIMethodResolver, List<String>) - Constructor for class com.smhumayun.mi_plus.MIFactory
Constructor which initializes this factory instance with given miMethodResolver and a default MIObjectInMemoryCache; and scans given packagesToScan to find and process classes annotated with MISupport annotation
MIFactory(MIObjectCache, MIMethodResolver) - Constructor for class com.smhumayun.mi_plus.MIFactory
Constructor which initializes this factory instance with given miObjectCache and miMethodResolver objects
MIFactory(MIObjectCache, MIMethodResolver, List<String>) - Constructor for class com.smhumayun.mi_plus.MIFactory
Constructor which initializes this factory instance with given miObjectCache and , miMethodResolver objects; and scans given packagesToScan to find and process classes annotated with MISupport annotation
MIMethodResolver - Interface in com.smhumayun.mi_plus
Method Resolver to be used for MI Method Resolution
MIMethodResolverImpl - Class in com.smhumayun.mi_plus.impl
MIMethodResolver implementation which resolves method based on the order of MISupport.parentClasses() and method resolution strategy of Apache Commons MethodUtils.getMatchingAccessibleMethod(Class, String, Class[])
MIMethodResolverImpl() - Constructor for class com.smhumayun.mi_plus.impl.MIMethodResolverImpl
 
MIObjectCache - Interface in com.smhumayun.mi_plus
MI Object Cache used by MIFactory
MIObjectInMemoryCache - Class in com.smhumayun.mi_plus.impl
HashMap based In-Memory cache implementation of MIObjectCache
MIObjectInMemoryCache() - Constructor for class com.smhumayun.mi_plus.impl.MIObjectInMemoryCache
 
MIObjectScope - Enum in com.smhumayun.mi_plus
Defines scopes for MI Container and Composed objects
MISupport - Annotation Type in com.smhumayun.mi_plus
Project MI+'s custom annotation to enable MI support

N

newInstance(Class) - Method in class com.smhumayun.mi_plus.MIFactory
Factory method to create new instances of MI Container classes that are annotated with MISupport annotation

P

Pair<L,R> - Class in com.smhumayun.mi_plus.util
Class to represent pair data structure
Pair(L, R) - Constructor for class com.smhumayun.mi_plus.util.Pair
 

R

resolve(Class, LinkedHashMap<Class, Object>, Method, Object[]) - Method in class com.smhumayun.mi_plus.impl.MIMethodResolverImpl
Resolve method based on following strategy: - Iterate over composed objects (order will be the same as defined in MISupport - For each composed object, check if there's a matching 'accessible' method based on the algorithm defined by MethodUtils.getAccessibleMethod(Class, String, Class[]) i.e.
resolve(Class, LinkedHashMap<Class, Object>, Method, Object[]) - Method in interface com.smhumayun.mi_plus.MIMethodResolver
Resolve method invoked method to target method and object

S

setMiMethodResolver(MIMethodResolver) - Method in class com.smhumayun.mi_plus.MIFactory
Set method resolver
setMiObjectCache(MIObjectCache) - Method in class com.smhumayun.mi_plus.MIFactory
Set MIObjectCache

U

Utils - Class in com.smhumayun.mi_plus.util
Utility class contain various utility methods used across api's implementation.
Utils() - Constructor for class com.smhumayun.mi_plus.util.Utils
 

V

validated(Class) - Method in class com.smhumayun.mi_plus.impl.MIObjectInMemoryCache
Cache this validatedClass and mark it as validated
validated(Class) - Method in interface com.smhumayun.mi_plus.MIObjectCache
Cache this validatedClass and mark it as validated
valueOf(String) - Static method in enum com.smhumayun.mi_plus.MIObjectScope
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.smhumayun.mi_plus.MIObjectScope
Returns an array containing the constants of this enum type, in the order they are declared.

C G I M N P R S U V

Copyright © 2013–2015 Syed Muhammad Humayun - smhumayun@gmail.com. All rights reserved.