org.sonatype.gshell.plexus
Class PlexusRuntime
java.lang.Object
org.sonatype.gshell.plexus.PlexusRuntime
public class PlexusRuntime
- extends Object
Provides access to Plexus components.
- Since:
- 3.0
- Author:
- Jason Dillon
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PlexusRuntime
public PlexusRuntime(org.codehaus.plexus.classworlds.ClassWorld classWorld)
PlexusRuntime
public PlexusRuntime()
getClassWorld
public org.codehaus.plexus.classworlds.ClassWorld getClassWorld()
getContainer
public org.codehaus.plexus.PlexusContainer getContainer()
lookup
public <T> T lookup(Class<T> role)
throws org.codehaus.plexus.component.repository.exception.ComponentLookupException
- Throws:
org.codehaus.plexus.component.repository.exception.ComponentLookupException
lookup
public <T> T lookup(Class<T> role,
String hint)
throws org.codehaus.plexus.component.repository.exception.ComponentLookupException
- Throws:
org.codehaus.plexus.component.repository.exception.ComponentLookupException
Copyright © 2008-2011 Sonatype. All Rights Reserved.