org.azuki.framework.object
Class Locator

java.lang.Object
  extended by org.azuki.framework.object.Locator

public class Locator
extends Object

Author:
Robert Bakic (robert.bakic@gmail.com)

Nested Class Summary
static interface Locator.Impl
           
 
Field Summary
static String OBJECT_COMMAND
           
static String OBJECT_CONTEXT
           
static String OBJECT_METHOD_PROXY
           
 
Constructor Summary
Locator()
           
 
Method Summary
static void addObjectFactory(String objectype, IObjectFactory fact)
           
static Object create(String objectype, Object... args)
           
static Map<String,IObjectFactory> getAllObjectFactory()
           
static IObjectFactory getObjectFactory(String objectype)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OBJECT_CONTEXT

public static final String OBJECT_CONTEXT
See Also:
Constant Field Values

OBJECT_COMMAND

public static final String OBJECT_COMMAND
See Also:
Constant Field Values

OBJECT_METHOD_PROXY

public static final String OBJECT_METHOD_PROXY
See Also:
Constant Field Values
Constructor Detail

Locator

public Locator()
Method Detail

getObjectFactory

public static final IObjectFactory getObjectFactory(String objectype)

addObjectFactory

public static final void addObjectFactory(String objectype,
                                          IObjectFactory fact)

getAllObjectFactory

public static final Map<String,IObjectFactory> getAllObjectFactory()

create

public static final Object create(String objectype,
                                  Object... args)
                           throws Exception
Throws:
Exception


Azuki Framework Copyright © 2006 the original author or authors.