org.azuki.framework.context
Interface IContext


public interface IContext

Interface for the command object in the Command Design Pattern.

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

Nested Class Summary
static interface IContext.IStub
           
 
Field Summary
static String ATTR_USER
           
static String OBJECT_ANALYZER
           
static String OBJECT_CONNECTION
           
static String OBJECT_DATASOURCE
           
static String OBJECT_ENTITYMANAGER
           
static String OBJECT_GLOBAL
           
static String OBJECT_HTTPREQUEST
           
static String OBJECT_LDAP
           
static String OBJECT_LOGGER
           
static String OBJECT_PERSISTENCEUNITNAME
           
 
Method Summary
 IContext.IStub bind(String key, Object object, ILifecycle life)
           
 IContext fork()
           
 int getID()
           
 Object getObject(String key)
           
 int getProcessID()
           
 boolean isBound(String key)
           
 Object lookup(String key, Object... args)
           
 void unbind(String key)
           
 void unbind(String key, IContext.IStub saved)
           
 

Field Detail

OBJECT_LOGGER

static final String OBJECT_LOGGER
See Also:
Constant Field Values

OBJECT_GLOBAL

static final String OBJECT_GLOBAL
See Also:
Constant Field Values

OBJECT_ANALYZER

static final String OBJECT_ANALYZER
See Also:
Constant Field Values

OBJECT_LDAP

static final String OBJECT_LDAP
See Also:
Constant Field Values

OBJECT_DATASOURCE

static final String OBJECT_DATASOURCE
See Also:
Constant Field Values

OBJECT_CONNECTION

static final String OBJECT_CONNECTION
See Also:
Constant Field Values

OBJECT_PERSISTENCEUNITNAME

static final String OBJECT_PERSISTENCEUNITNAME
See Also:
Constant Field Values

OBJECT_ENTITYMANAGER

static final String OBJECT_ENTITYMANAGER
See Also:
Constant Field Values

OBJECT_HTTPREQUEST

static final String OBJECT_HTTPREQUEST
See Also:
Constant Field Values

ATTR_USER

static final String ATTR_USER
See Also:
Constant Field Values
Method Detail

getID

int getID()

getProcessID

int getProcessID()

isBound

boolean isBound(String key)

getObject

Object getObject(String key)

lookup

Object lookup(String key,
              Object... args)
              throws Exception
Throws:
Exception

bind

IContext.IStub bind(String key,
                    Object object,
                    ILifecycle life)

unbind

void unbind(String key)

unbind

void unbind(String key,
            IContext.IStub saved)

fork

IContext fork()


Azuki Framework Copyright © 2006 the original author or authors.