org.sca4j.introspection
Interface IntrospectionContext

All Superinterfaces:
org.sca4j.scdl.ValidationContext
All Known Implementing Classes:
DefaultIntrospectionContext

public interface IntrospectionContext
extends org.sca4j.scdl.ValidationContext

Context for the current introspection session.

It provides information about the environment in which the components being introspected will be used.

Version:
$Rev: 4282 $ $Date: 2008-05-21 03:03:43 +0100 (Wed, 21 May 2008) $

Method Summary
 java.net.URI getContributionUri()
          Returns the active contribution URI.
 java.net.URL getSourceBase()
          Returns the location of the SCDL definition being deployed.
 java.lang.ClassLoader getTargetClassLoader()
          Returns a class loader that can be used to load application resources.
 java.lang.String getTargetNamespace()
          Target namespace for this loader context.
 TypeMapping getTypeMapping()
          Returns the mappings from formal to actual types for the component being introspected.
 
Methods inherited from interface org.sca4j.scdl.ValidationContext
addError, addErrors, addWarning, addWarnings, getErrors, getWarnings, hasErrors, hasWarnings
 

Method Detail

getTargetClassLoader

java.lang.ClassLoader getTargetClassLoader()
Returns a class loader that can be used to load application resources.

Returns:
a class loader that can be used to load application resources

getSourceBase

java.net.URL getSourceBase()
Returns the location of the SCDL definition being deployed.

Returns:
the location of the SCDL definition being deployed

getTargetNamespace

java.lang.String getTargetNamespace()
Target namespace for this loader context.

Returns:
Target namespace.

getContributionUri

java.net.URI getContributionUri()
Returns the active contribution URI.

Returns:
the active contribution URI

getTypeMapping

TypeMapping getTypeMapping()
Returns the mappings from formal to actual types for the component being introspected.

Returns:
the mappings from formal to actual types for the component being introspected


Copyright © 2008-2011 Service Symphony. All Rights Reserved.