com.ibm.oti.shared

Class Shared

  1. java.lang.Object
  2. extended bycom.ibm.oti.shared.Shared

  1. public class Shared
  2. extends java.lang.Object
Global class which provides SharedClassHelperFactory and sharing status.

Version:
initial
Author:
OTI
See Also:
SharedClassHelperFactory

Constructor Summary

Constructor and Description
Shared()

Method Summary

Modifier and Type Method and Description
  1. static
  2. SharedClassHelperFactory
getSharedClassHelperFactory()
If sharing is enabled returns a SharedClassHelperFactory, otherwise returns null.
  1. static
  2. boolean
isSharingEnabled()
Returns true if sharing is enabled for this JVM (using -Xshareclasses on the command-line)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

Shared

  1. public Shared()

Method Detail

isSharingEnabled

  1. public static boolean isSharingEnabled( )
Returns true if sharing is enabled for this JVM (using -Xshareclasses on the command-line)


getSharedClassHelperFactory

  1. public static SharedClassHelperFactory getSharedClassHelperFactory( )
If sharing is enabled returns a SharedClassHelperFactory, otherwise returns null.

Returns:
SharedClassHelperFactory