org.beanfabrics.context
Interface Context

All Known Implementing Classes:
BnParentContext, DefaultContext, ModelContext

public interface Context

Author:
Michael Karneim

Method Summary
 void addContextListener(ContextListener l)
           
 void addParent(Context parent)
           
<T> boolean
addService(java.lang.Class<? super T> type, T service)
           
 ServiceEntry findService(java.lang.Class type)
           
 java.util.List<Context> getParents()
           
<T> T
getService(java.lang.Class<? extends T> type)
           
 java.util.List<ServiceEntry> getServiceEntries()
           
 void removeContextListener(ContextListener l)
           
 void removeParent(Context parent)
           
 java.lang.Object removeService(java.lang.Class type)
           
 

Method Detail

addParent

void addParent(Context parent)

removeParent

void removeParent(Context parent)

getParents

java.util.List<Context> getParents()

addContextListener

void addContextListener(ContextListener l)

removeContextListener

void removeContextListener(ContextListener l)

addService

<T> boolean addService(java.lang.Class<? super T> type,
                       T service)

removeService

java.lang.Object removeService(java.lang.Class type)

getServiceEntries

java.util.List<ServiceEntry> getServiceEntries()

findService

ServiceEntry findService(java.lang.Class type)

getService

<T> T getService(java.lang.Class<? extends T> type)


© 2010 by Michael Karneim, http://www.beanfabrics.org