com.enspire.gemini.context
Class GeminiFactory

java.lang.Object
  extended by com.enspire.gemini.context.GeminiFactory
All Implemented Interfaces:
com.enspire.context.Factory

public class GeminiFactory
extends java.lang.Object
implements com.enspire.context.Factory

This Factory sets up the context of Gemini. In other words, it injects the right dependencies into Gemini objects.

Since:
1.0
Author:
Dragan Djuric

Constructor Summary
GeminiFactory()
          Constructs the factory with the created context.
 
Method Summary
 java.lang.Object create(java.lang.Class type)
           
 java.lang.Object create(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeminiFactory

public GeminiFactory()
Constructs the factory with the created context.

Method Detail

create

public java.lang.Object create(java.lang.Class type)
Specified by:
create in interface com.enspire.context.Factory
See Also:
Factory.create(java.lang.Class)

create

public java.lang.Object create(java.lang.String name)
Specified by:
create in interface com.enspire.context.Factory
See Also:
Factory.create(java.lang.String)


Copyright © 2005 e-nspire. All Rights Reserved.