org.glassfish.tests.utils
Class ProxyModule
java.lang.Object
org.glassfish.tests.utils.ProxyModule
- All Implemented Interfaces:
- com.sun.enterprise.module.Module
public class ProxyModule
- extends java.lang.Object
- implements com.sun.enterprise.module.Module
Created by IntelliJ IDEA.
User: dochez
Date: Nov 19, 2008
Time: 11:29:13 PM
To change this template use File | Settings | File Templates.
|
Constructor Summary |
ProxyModule(com.sun.enterprise.module.ModulesRegistry registry,
com.sun.enterprise.module.ModuleDefinition moduleDef,
java.lang.ClassLoader cl)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProxyModule
public ProxyModule(com.sun.enterprise.module.ModulesRegistry registry,
com.sun.enterprise.module.ModuleDefinition moduleDef,
java.lang.ClassLoader cl)
getModuleDefinition
public com.sun.enterprise.module.ModuleDefinition getModuleDefinition()
- Specified by:
getModuleDefinition in interface com.sun.enterprise.module.Module
getName
public java.lang.String getName()
- Specified by:
getName in interface com.sun.enterprise.module.Module
getRegistry
public com.sun.enterprise.module.ModulesRegistry getRegistry()
- Specified by:
getRegistry in interface com.sun.enterprise.module.Module
getState
public com.sun.enterprise.module.ModuleState getState()
- Specified by:
getState in interface com.sun.enterprise.module.Module
resolve
public void resolve()
throws com.sun.enterprise.module.ResolveError
- Specified by:
resolve in interface com.sun.enterprise.module.Module
- Throws:
com.sun.enterprise.module.ResolveError
start
public void start()
throws com.sun.enterprise.module.ResolveError
- Specified by:
start in interface com.sun.enterprise.module.Module
- Throws:
com.sun.enterprise.module.ResolveError
stop
public boolean stop()
- Specified by:
stop in interface com.sun.enterprise.module.Module
detach
public void detach()
- Specified by:
detach in interface com.sun.enterprise.module.Module
refresh
public void refresh()
- Specified by:
refresh in interface com.sun.enterprise.module.Module
getMetadata
public com.sun.enterprise.module.ModuleMetadata getMetadata()
- Specified by:
getMetadata in interface com.sun.enterprise.module.Module
addListener
public void addListener(com.sun.enterprise.module.ModuleChangeListener listener)
- Specified by:
addListener in interface com.sun.enterprise.module.Module
removeListener
public void removeListener(com.sun.enterprise.module.ModuleChangeListener listener)
- Specified by:
removeListener in interface com.sun.enterprise.module.Module
getClassLoader
public java.lang.ClassLoader getClassLoader()
- Specified by:
getClassLoader in interface com.sun.enterprise.module.Module
getImports
public java.util.List<com.sun.enterprise.module.Module> getImports()
- Specified by:
getImports in interface com.sun.enterprise.module.Module
addImport
public void addImport(com.sun.enterprise.module.Module module)
- Specified by:
addImport in interface com.sun.enterprise.module.Module
addImport
public com.sun.enterprise.module.Module addImport(com.sun.enterprise.module.ModuleDependency dependency)
- Specified by:
addImport in interface com.sun.enterprise.module.Module
isShared
public boolean isShared()
- Specified by:
isShared in interface com.sun.enterprise.module.Module
isSticky
public boolean isSticky()
- Specified by:
isSticky in interface com.sun.enterprise.module.Module
setSticky
public void setSticky(boolean sticky)
- Specified by:
setSticky in interface com.sun.enterprise.module.Module
getProvidersClass
public <T> java.lang.Iterable<java.lang.Class<? extends T>> getProvidersClass(java.lang.Class<T> serviceClass)
- Specified by:
getProvidersClass in interface com.sun.enterprise.module.Module
getProvidersClass
public java.lang.Iterable<java.lang.Class> getProvidersClass(java.lang.String name)
- Specified by:
getProvidersClass in interface com.sun.enterprise.module.Module
hasProvider
public boolean hasProvider(java.lang.Class serviceClass)
- Specified by:
hasProvider in interface com.sun.enterprise.module.Module
dumpState
public void dumpState(java.io.PrintStream writer)
- Specified by:
dumpState in interface com.sun.enterprise.module.Module
uninstall
public void uninstall()
- Specified by:
uninstall in interface com.sun.enterprise.module.Module
Copyright © 2012 GlassFish Community. All Rights Reserved.