Sonic ESB API

com.sonicsw.esb.mgmtapi.config
Interface IServiceTypeConfig.ClassLoaderConfiguration

Enclosing interface:
IServiceTypeConfig

public static interface IServiceTypeConfig.ClassLoaderConfiguration

A representation of a contribution to a given scope's class-path.


Method Summary
 java.lang.String[] getClasspathURLs()
           
 java.lang.String[] getExclusionList()
          The set of prefixes of class names which will not be searched in the above class-path.
 boolean isSelfFirst()
          Should this contribution behave in a self first manner - if false, parent class-loaders are deferred to. if true, local resources and classes take precedence over ones available in parents' paths.
 void setClasspathURLs(java.lang.String[] urls)
          Replace the currently defined value for the classpath URL's with a new set.
 void setExclusionList(java.lang.String[] exclusions)
          Replace the currently defined the set of prefixes of class names which will not be searched by this class loader.
 void setSelfFirst(boolean selfFirst)
          Define the behavior of this class loader.
 

Method Detail

getClasspathURLs

java.lang.String[] getClasspathURLs()
Returns:
The classpath elements appended to the given scope's class-path.

setClasspathURLs

void setClasspathURLs(java.lang.String[] urls)
Replace the currently defined value for the classpath URL's with a new set.

Parameters:
urls - the new set of URL's to use.

getExclusionList

java.lang.String[] getExclusionList()
The set of prefixes of class names which will not be searched in the above class-path.

Returns:
the exclusion prefixes

setExclusionList

void setExclusionList(java.lang.String[] exclusions)
Replace the currently defined the set of prefixes of class names which will not be searched by this class loader.

Parameters:
exclusions - the new exclusion prefixes

isSelfFirst

boolean isSelfFirst()
Should this contribution behave in a self first manner - if false, parent class-loaders are deferred to. if true, local resources and classes take precedence over ones available in parents' paths.

Returns:
true if the class loader is behaving self first.

setSelfFirst

void setSelfFirst(boolean selfFirst)
Define the behavior of this class loader. If true - the class loader will first search it's privately defined URL's for classes and resources. If false, the class loader will only be search if it's parent does not locate the desired resource.

Parameters:
selfFirst - - true = self first. false = parent first.

Sonic ESB API

Copyright © 2001-2013 Aurea, Inc. All Rights Reserved.
HTML formatted on 29-April-2013.