org.rhq.enterprise.server.plugin.pc
Class MasterServerPluginContainerConfiguration

java.lang.Object
  extended by org.rhq.enterprise.server.plugin.pc.MasterServerPluginContainerConfiguration

public class MasterServerPluginContainerConfiguration
extends Object

A very simple object used to contain master server plugin container configuration.

Author:
John Mazzitelli

Constructor Summary
MasterServerPluginContainerConfiguration(File pluginDirectory, File dataDirectory, File tmpDirectory, String rootClassLoaderRegex)
           
 
Method Summary
 File getDataDirectory()
           
 File getPluginDirectory()
           
 String getRootServerPluginClassLoaderRegex()
          Returns the regex that defines what classes the plugin container can provide to its plugins from its own classloader and its parents.
 File getTemporaryDirectory()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MasterServerPluginContainerConfiguration

public MasterServerPluginContainerConfiguration(File pluginDirectory,
                                                File dataDirectory,
                                                File tmpDirectory,
                                                String rootClassLoaderRegex)
Method Detail

getPluginDirectory

public File getPluginDirectory()

getDataDirectory

public File getDataDirectory()

getTemporaryDirectory

public File getTemporaryDirectory()

getRootServerPluginClassLoaderRegex

public String getRootServerPluginClassLoaderRegex()
Returns the regex that defines what classes the plugin container can provide to its plugins from its own classloader and its parents. If not null, any classes found in the plugin container's classloader (and its parent classloaders) that do NOT match this regex will be hidden from the plugins. If null, there are no hidden classes and any class the plugin container's classloader has is visible to all plugins.

Returns:
regular expression (may be null)
See Also:
RootServerPluginClassLoader

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.