org.jpox
Class PMFContext

java.lang.Object
  extended byorg.jpox.PMFContext

public class PMFContext
extends java.lang.Object

Represents the context of a PMF instance.

Version:
$Revision: 1.18 $

Field Summary
protected static Localiser LOCALISER
          Localisation of messages.
 
Constructor Summary
PMFContext(PMFConfiguration pmfConfiguration)
          Constructor for the context.
 
Method Summary
 void close()
          Clear out resources
 ClassLoaderResolver getClassLoaderResolver(java.lang.ClassLoader primaryLoader)
          Accessor for a ClassLoaderResolver to use in resolving classes.
 ImplementationCreator getImplementationCreator()
          Accessor for the implementation creator for this context.
 ManagementManager getManagement()
          Accessor for the management manager.
 MetaDataManager getMetaDataManager()
          Accessor for the Meta-Data Manager.
 PluginManager getPluginManager()
          Accessor for the Plugin Manager
 PMFConfiguration getPmfConfiguration()
          Accessor for the PMF Configuration.
 java.util.Map getStoreMgrs()
          Accessor for the Store Managers.
 TypeManager getTypeManager()
          Accessor for the Type Manager
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOCALISER

protected static final Localiser LOCALISER
Localisation of messages.

Constructor Detail

PMFContext

public PMFContext(PMFConfiguration pmfConfiguration)
Constructor for the context.

Parameters:
pmfConfiguration - The PMF configuration
Method Detail

close

public void close()
Clear out resources


getManagement

public ManagementManager getManagement()
Accessor for the management manager.

Returns:
The management manager

getClassLoaderResolver

public ClassLoaderResolver getClassLoaderResolver(java.lang.ClassLoader primaryLoader)
Accessor for a ClassLoaderResolver to use in resolving classes.

Parameters:
primaryLoader - Loader to use as the primary loader.
Returns:
The ClassLoader resolver

getImplementationCreator

public ImplementationCreator getImplementationCreator()
Accessor for the implementation creator for this context.

Returns:
The implementation creator

getMetaDataManager

public MetaDataManager getMetaDataManager()
Accessor for the Meta-Data Manager.

Returns:
Returns the MetaDataManager.

getStoreMgrs

public java.util.Map getStoreMgrs()
Accessor for the Store Managers.

Returns:
Returns the storeMgrs.

getPmfConfiguration

public PMFConfiguration getPmfConfiguration()
Accessor for the PMF Configuration.

Returns:
Returns the pmfConfiguration.

getPluginManager

public PluginManager getPluginManager()
Accessor for the Plugin Manager

Returns:
the PluginManager

getTypeManager

public TypeManager getTypeManager()
Accessor for the Type Manager

Returns:
the TypeManager


Copyright © -2007 . All Rights Reserved.