org.peaseplate.internal.util
Class ServiceConfiguration

java.lang.Object
  extended by org.peaseplate.internal.util.ServiceConfiguration

public class ServiceConfiguration
extends java.lang.Object


Constructor Summary
ServiceConfiguration(java.lang.Class<?> serviceClass, java.lang.ClassLoader... classLoaders)
           
ServiceConfiguration(java.lang.Class<?> serviceClass, java.util.Collection<java.lang.ClassLoader> classLoaders)
           
 
Method Summary
 boolean containsContribution(java.lang.Class<?> contribution)
           
 java.util.Collection<java.lang.Class<?>> getContributions()
           
protected  void load()
           
protected  java.lang.Class<?> resolveClass(java.net.URL resource, java.lang.String classname)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServiceConfiguration

public ServiceConfiguration(java.lang.Class<?> serviceClass,
                            java.util.Collection<java.lang.ClassLoader> classLoaders)
                     throws java.io.IOException
Throws:
java.io.IOException

ServiceConfiguration

public ServiceConfiguration(java.lang.Class<?> serviceClass,
                            java.lang.ClassLoader... classLoaders)
                     throws java.io.IOException
Throws:
java.io.IOException
Method Detail

getContributions

public java.util.Collection<java.lang.Class<?>> getContributions()

containsContribution

public boolean containsContribution(java.lang.Class<?> contribution)

load

protected void load()
             throws java.io.IOException
Throws:
java.io.IOException

resolveClass

protected java.lang.Class<?> resolveClass(java.net.URL resource,
                                          java.lang.String classname)
                                   throws java.io.IOException
Throws:
java.io.IOException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
See Also:
Object.toString()


Copyright © 2008. All Rights Reserved.