com.ibm.ram.rich.core
Class RichClientCorePlugin

java.lang.Object
  extended by Plugin
      extended by com.ibm.ram.rich.core.RichClientCorePlugin

public class RichClientCorePlugin
extends Plugin

Represents the entry point for the com.ibm.ram.rich.core bundle. This class provides a mechanism for creating RAMSessions for connections created inside the Eclipse UI, among other things.


Field Summary
static java.lang.String ASSET_MODEL_VERSION_7_0_0_0
           
static java.lang.String ASSET_MODEL_VERSION_7_0_0_1
           
static java.lang.String ASSET_MODEL_VERSION_CURRENT
           
static java.lang.String REFRESH_ALL_RAM_REPOSITORY_CONNECTIONS
           
static java.lang.String REMEMBERED_CONNECTIONS
           
 
Constructor Summary
RichClientCorePlugin()
           
 
Method Summary
 RAMSession createClientSession(IRepositoryIdentifier repository)
          Creates and returns a RAMSession for the repository identifier provided.
 RAMSession createClientSession(IRepositoryIdentifier repository, boolean useWorkbenchCache)
          Deprecated.  
 RAMSession createClientSession(RepositoryIdentification repository, boolean useWorkbenchCache)
          Creates and returns a RAMSession for the repository identifier provided.
static RichClientCorePlugin getDefault()
          Returns the shared instance
static java.lang.String getPluginId()
          Provides the identifier for this bundle.
 IRepositoryIdentifier[] getRepositoryConnections()
          Deprecated.  
 java.util.List<RepositoryIdentification> getRepositoryIdentifications()
          Returns all repository connections defined on the rich client.
static java.io.File getTemporaryFolder()
           
 void start(BundleContext context)
           
 void stop(BundleContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REFRESH_ALL_RAM_REPOSITORY_CONNECTIONS

public static final java.lang.String REFRESH_ALL_RAM_REPOSITORY_CONNECTIONS

ASSET_MODEL_VERSION_7_0_0_1

public static final java.lang.String ASSET_MODEL_VERSION_7_0_0_1
See Also:
Constant Field Values

ASSET_MODEL_VERSION_7_0_0_0

public static final java.lang.String ASSET_MODEL_VERSION_7_0_0_0
See Also:
Constant Field Values

ASSET_MODEL_VERSION_CURRENT

public static final java.lang.String ASSET_MODEL_VERSION_CURRENT
See Also:
Constant Field Values

REMEMBERED_CONNECTIONS

public static final java.lang.String REMEMBERED_CONNECTIONS
See Also:
Constant Field Values
Constructor Detail

RichClientCorePlugin

public RichClientCorePlugin()
Method Detail

start

public void start(BundleContext context)
           throws java.lang.Exception
Throws:
java.lang.Exception

stop

public void stop(BundleContext context)
          throws java.lang.Exception
Throws:
java.lang.Exception

getDefault

public static RichClientCorePlugin getDefault()
Returns the shared instance

Returns:
the shared instance

getPluginId

public static java.lang.String getPluginId()
Provides the identifier for this bundle.

Returns:
String identifier for bundle.

getTemporaryFolder

public static java.io.File getTemporaryFolder()

getRepositoryConnections

public IRepositoryIdentifier[] getRepositoryConnections()
Deprecated. 

Returns active repository connections defined on the rich client.

Returns:
See Also:
getRepositoryIdentifications()

getRepositoryIdentifications

public java.util.List<RepositoryIdentification> getRepositoryIdentifications()
Returns all repository connections defined on the rich client.

Returns:

createClientSession

public RAMSession createClientSession(IRepositoryIdentifier repository)
Creates and returns a RAMSession for the repository identifier provided. Returns null if no such connection could be found.

Parameters:
repository -
Returns:

createClientSession

public RAMSession createClientSession(IRepositoryIdentifier repository,
                                      boolean useWorkbenchCache)
Deprecated. 

Creates and returns a RAMSession for the repository identifier provided. Returns null if no such connection could be found.

Parameters:
repository -
Returns:
See Also:
createClientSession(RepositoryIdentification, boolean)

createClientSession

public RAMSession createClientSession(RepositoryIdentification repository,
                                      boolean useWorkbenchCache)
Creates and returns a RAMSession for the repository identifier provided. Returns null if no such connection could be found.

Parameters:
repository -
Returns: