com.ibm.oti.shared
Class Shared

java.lang.Object
  extended by com.ibm.oti.shared.Shared

public class Shared
extends java.lang.Object

Global class which provides SharedClassHelperFactory and sharing status.

Version:
initial
Author:
OTI
See Also:
SharedClassHelperFactory

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

Constructor Detail

Shared

public Shared()
Method Detail

isSharingEnabled

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


getSharedClassHelperFactory

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

Returns:
SharedClassHelperFactory