Dali Provisional API
Release 3.2

org.eclipse.jpt.jpa.core
Interface JpaWorkspace


public interface JpaWorkspace

The Dali JPA state corresponding to an Eclipse workspace.

To retrieve the JPA workspace corresponding to an Eclipse workspace:

 IWorkspace workspace = ResourcesPlugin.getWorkspace();
 JpaWorkspace jpaWorkspace = (JpaWorkspace) workspace.getAdapter(JpaWorkspace.class);
 

See org.eclipse.jpt.jpa.core/plugin.xml:org.eclipse.core.runtime.adapters.

Not intended to be implemented by clients.

Provisional API: This class is part of an interim API that is still under development and expected to change significantly before reaching stability. It is available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.

Since:
3.2

Method Summary
 ConnectionProfileFactory getConnectionProfileFactory()
          Return the workspace's connection profile factory.
 JpaPlatformManager getJpaPlatformManager()
          Return the manager for the workspace's JPA platforms.
 JpaProjectManager getJpaProjectManager()
          Return the manager for all the workspace's JPA projects.
 JptWorkspace getJptWorkspace()
          Return the workspace's Dali workspace.
 IWorkspace getWorkspace()
          Return the corresponding Eclipse workspace.
 

Method Detail

getWorkspace

IWorkspace getWorkspace()
Return the corresponding Eclipse workspace.


getJptWorkspace

JptWorkspace getJptWorkspace()
Return the workspace's Dali workspace.


getJpaPlatformManager

JpaPlatformManager getJpaPlatformManager()
Return the manager for the workspace's JPA platforms.


getJpaProjectManager

JpaProjectManager getJpaProjectManager()
Return the manager for all the workspace's JPA projects.


getConnectionProfileFactory

ConnectionProfileFactory getConnectionProfileFactory()
Return the workspace's connection profile factory.


Dali Provisional API
Release 3.2

Copyright (c) 2012 Oracle. All rights reserved.