|
Tuscany Core | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of Context in org.apache.tuscany.core.builder |
---|
Classes in org.apache.tuscany.core.builder with type parameters of type Context | |
---|---|
interface |
ContextFactory<T extends Context>
Implementations create Context s based on an assembly configuration. |
Uses of Context in org.apache.tuscany.core.context |
---|
Subinterfaces of Context in org.apache.tuscany.core.context | |
---|---|
interface |
AtomicContext
A runtime entity that manages an atomic (i.e. |
interface |
AutowireContext
A specialization of a CompositeContext that is able to automatically resolve references for its children using EntryPoint or Service interfaces exposed by it or, recursively, any of it parents. |
interface |
CompositeContext
A context which contains child component contexts. |
interface |
EntryPointContext
The runtime artifact representing an entry point, EntryPointContext manages wire handler
instances that expose service operations offered by a component in the parent composite. |
interface |
ExternalServiceContext
Manages an external service |
interface |
ScopeAwareContext
Denotes a composite context that supports scopes |
interface |
SystemCompositeContext
Marker type for system composite contexts |
Methods in org.apache.tuscany.core.context that return Context | |
---|---|
Context |
CompositeContext.getContext(String name)
Returns the child context associated with a given name |
Context |
ScopeContext.getContext(String name)
Returns a context bound to the given name or null if the component does not exist. |
Context |
ScopeContext.getContextByKey(String name,
Object key)
Returns a context bound to the given name and scoped to the given key or null if the context does not exist |
Method parameters in org.apache.tuscany.core.context with type arguments of type Context | |
---|---|
void |
ScopeContext.registerFactories(List<ContextFactory<Context>> configurations)
Registers the context factory used to construct instance contexts for the scope |
void |
ScopeContext.registerFactory(ContextFactory<Context> configuration)
Adds a context factory to the scope |
Uses of Context in org.apache.tuscany.core.context.impl |
---|
Classes in org.apache.tuscany.core.context.impl that implement Context | |
---|---|
class |
AbstractCompositeContext
The base implementation of a composite context |
class |
AbstractContext
Functionality common to all Context |
class |
CompositeContextImpl
The standard implementation of an composite context. |
class |
EntryPointContextImpl
The default implementation of an entry point context |
class |
ExternalServiceContextImpl
The default implementation of an external service context |
Fields in org.apache.tuscany.core.context.impl with type parameters of type Context | |
---|---|
protected Map<String,ContextFactory<Context>> |
AbstractCompositeContext.configurations
|
Methods in org.apache.tuscany.core.context.impl that return Context | |
---|---|
Context |
AbstractCompositeContext.getContext(String componentName)
|
Method parameters in org.apache.tuscany.core.context.impl with type arguments of type Context | |
---|---|
protected void |
AbstractCompositeContext.registerConfiguration(ContextFactory<Context> factory)
|
protected void |
AbstractCompositeContext.wireSource(ContextFactory<Context> source)
Iterates through references and delegates to the configuration context to wire them to their targets |
Uses of Context in org.apache.tuscany.core.context.scope |
---|
Fields in org.apache.tuscany.core.context.scope with type parameters of type Context | |
---|---|
protected Map<String,ContextFactory<Context>> |
AbstractScopeContext.contextFactories
|
Methods in org.apache.tuscany.core.context.scope that return Context | |
---|---|
Context |
ModuleScopeContext.getContext(String ctxName)
|
Context |
RequestScopeContext.getContext(String ctxName)
|
Context |
CompositeScopeContext.getContext(String ctxName)
|
Context |
SessionScopeContext.getContext(String ctxName)
|
Context |
StatelessScopeContext.getContext(String ctxName)
|
Context |
ModuleScopeContext.getContextByKey(String ctxName,
Object key)
|
Context |
RequestScopeContext.getContextByKey(String ctxName,
Object key)
|
Context |
CompositeScopeContext.getContextByKey(String ctxName,
Object key)
|
Context |
SessionScopeContext.getContextByKey(String ctxName,
Object key)
|
Context |
StatelessScopeContext.getContextByKey(String ctxName,
Object key)
|
Method parameters in org.apache.tuscany.core.context.scope with type arguments of type Context | |
---|---|
void |
CompositeScopeContext.registerFactories(List<ContextFactory<Context>> configurations)
|
void |
AbstractScopeContext.registerFactories(List<ContextFactory<Context>> configurations)
|
void |
ModuleScopeContext.registerFactory(ContextFactory<Context> configuration)
|
void |
RequestScopeContext.registerFactory(ContextFactory<Context> configuration)
|
void |
CompositeScopeContext.registerFactory(ContextFactory<Context> configuration)
|
void |
SessionScopeContext.registerFactory(ContextFactory<Context> configuration)
|
void |
StatelessScopeContext.registerFactory(ContextFactory<Context> configuration)
|
Uses of Context in org.apache.tuscany.core.runtime |
---|
Subinterfaces of Context in org.apache.tuscany.core.runtime | |
---|---|
interface |
RuntimeContext
Represents a top-level component context in the runtime, that is the bootstrap context. |
Classes in org.apache.tuscany.core.runtime that implement Context | |
---|---|
class |
RuntimeContextImpl
Implementation of a RuntimeContext that forms the foundation for a Tuscany environment. |
Methods in org.apache.tuscany.core.runtime that return Context | |
---|---|
Context |
RuntimeContextImpl.getContext(String ctxName)
|
Uses of Context in org.apache.tuscany.core.system.config |
---|
Methods in org.apache.tuscany.core.system.config that return Context | |
---|---|
Context |
SystemContextFactory.createContext()
|
Context |
SystemObjectContextFactory.createContext()
|
Uses of Context in org.apache.tuscany.core.system.context |
---|
Classes in org.apache.tuscany.core.system.context that implement Context | |
---|---|
class |
SystemAtomicContext
Manages system component implementation instances |
class |
SystemCompositeContextImpl
Implements an composite context for system components. |
class |
SystemEntryPointContext
Manages an entry point into a system module. |
class |
SystemExternalServiceContext
An implementation of an external service for system wiring. |
|
Tuscany Core | |||||||||
PREV NEXT | FRAMES NO FRAMES |