wt.services.applicationcontext.implementation
Class WTDefaultApplicationContext

java.lang.Object
  extended bywt.services.applicationcontext.ApplicationContextServicesSupport
      extended bywt.services.applicationcontext.implementation.WTDefaultApplicationContext
All Implemented Interfaces:
ApplicationContext, ApplicationContextChild, ApplicationContextServices, Serializable

public class WTDefaultApplicationContext
extends ApplicationContextServicesSupport
implements Serializable

The default context for Windchill. It loads the properties found in files specified by the properties:

which are maintained in the file wt.properties.

Do not directly instantiate this class. Use the ApplicationContextFactory to obtain an instance of this class.

An example of the format for a service properties file can be found in file applicationcontext/test/service.properties. The format of each service entry is as follows:

wt.services/svc/<ContextName>/<ServiceName>/<Requestor>/<Selector> | null/<SearchOrderNumber>=<ServiceImplementationName>

The format of a resource entry is as follows:

wt.services/rsc/<ContextName>/<ResourceName>/<Requestor>/<Selector> | null/<SearchOrderNumber>=<ResourceName>

Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
private static String RESOURCE
           
 
Fields inherited from class wt.services.applicationcontext.ApplicationContextServicesSupport
 
Fields inherited from interface wt.services.applicationcontext.ApplicationContextServices
SERVICE
 
Fields inherited from interface wt.services.applicationcontext.ApplicationContextChild
APPLICATION_CONTEXT
 
Constructor Summary
WTDefaultApplicationContext()
          

Supported API: false
 
Methods inherited from class wt.services.applicationcontext.ApplicationContextServicesSupport
addAllServices, addService, getApplicationContext, getApplicationContextServices, getPeer, getService, getService, getServiceImplementationName, getServiceImplementationNameMap, getServiceImplementationNameMap, getServiceMap, getServiceMap, getServiceMap, getServiceMap, getServices, getServiceSelectors, getServicesMap, getServicesMap, hasService, setApplicationContext, setPeer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME
Constructor Detail

WTDefaultApplicationContext

public WTDefaultApplicationContext()
                            throws UnableToLoadServiceProperties


Supported API: false

Throws:
UnableToLoadServiceProperties