wt.services.applicationcontext
Class ApplicationContextServicesFactory

java.lang.Object
  extended bywt.services.applicationcontext.ApplicationContextServicesFactory
All Implemented Interfaces:
Externalizable, Serializable

public class ApplicationContextServicesFactory
extends Object
implements Externalizable

Factory used to keep track of a default context.

Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
static String DEFAULT_CONTEXT
          Label for the attribute.
private static ApplicationContextServices defaultContext
           
private static String RESOURCE
           
(package private) static long serialVersionUID
           
private static String versionID
           
 
Constructor Summary
ApplicationContextServicesFactory()
           
 
Method Summary
static ApplicationContextServices getDefaultContext()
          Get the object for the association that plays role: DEFAULT_CONTEXT.
 void readExternal(ObjectInput input)
          Read the non-transient fields of this class from an external source.
private  void readOldVersion(ObjectInput input, long readSerialVersionUID)
          Read the non-transient fields of this class from an external source, which is not the current version.
static void setDefaultContext(ApplicationContextServices a_DefaultContext)
          Set the object for the association that plays role: DEFAULT_CONTEXT.
 void writeExternal(ObjectOutput output)
          Write the non-transient fields of this class to an external source.
 
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

versionID

private static final String versionID
See Also:
Constant Field Values

serialVersionUID

static final long serialVersionUID
See Also:
Constant Field Values

DEFAULT_CONTEXT

public static final String DEFAULT_CONTEXT
Label for the attribute.

See Also:
Constant Field Values

defaultContext

private static ApplicationContextServices defaultContext
Constructor Detail

ApplicationContextServicesFactory

public ApplicationContextServicesFactory()
Method Detail

writeExternal

public void writeExternal(ObjectOutput output)
                   throws IOException
Write the non-transient fields of this class to an external source.

Specified by:
writeExternal in interface Externalizable
Parameters:
output -
Throws:
IOException

readExternal

public void readExternal(ObjectInput input)
                  throws IOException,
                         ClassNotFoundException
Read the non-transient fields of this class from an external source.

Specified by:
readExternal in interface Externalizable
Parameters:
input -
Throws:
IOException
ClassNotFoundException

readOldVersion

private void readOldVersion(ObjectInput input,
                            long readSerialVersionUID)
                     throws IOException,
                            ClassNotFoundException
Read the non-transient fields of this class from an external source, which is not the current version.

Parameters:
input -
readSerialVersionUID -
Throws:
IOException
ClassNotFoundException

getDefaultContext

public static ApplicationContextServices getDefaultContext()
Get the object for the association that plays role: DEFAULT_CONTEXT.

Returns:
ApplicationContextServices

setDefaultContext

public static void setDefaultContext(ApplicationContextServices a_DefaultContext)
Set the object for the association that plays role: DEFAULT_CONTEXT.

Parameters:
a_DefaultContext -