com.sun.enterprise.v3.server
Class APIClassLoaderServiceImpl

java.lang.Object
  extended by com.sun.enterprise.v3.server.APIClassLoaderServiceImpl
All Implemented Interfaces:
org.glassfish.hk2.PostConstruct

@Service
public class APIClassLoaderServiceImpl
extends Object
implements org.jvnet.hk2.component.PostConstruct

This class is responsible for creating a ClassLoader that can load classes exported by any OSGi bundle in the system for public use. Such classes include Java EE API, AMX API, appserv-ext API, etc. CommonClassLoader delegates to this class loader.. It does special treatment of META-INF/mailcap file. For such resources, it searches all available bundles.

Author:
Sanjeeb.Sahoo@Sun.COM

Field Summary
 com.sun.enterprise.module.ModuleState PUNCHIN_MODULE_STATE_DEFAULT_VALUE
           
 
Constructor Summary
APIClassLoaderServiceImpl()
           
 
Method Summary
 ClassLoader getAPIClassLoader()
           
 void postConstruct()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PUNCHIN_MODULE_STATE_DEFAULT_VALUE

public final com.sun.enterprise.module.ModuleState PUNCHIN_MODULE_STATE_DEFAULT_VALUE
Constructor Detail

APIClassLoaderServiceImpl

public APIClassLoaderServiceImpl()
Method Detail

postConstruct

public void postConstruct()
Specified by:
postConstruct in interface org.glassfish.hk2.PostConstruct

getAPIClassLoader

public ClassLoader getAPIClassLoader()


Copyright © 2012. All Rights Reserved.