com.ebmwebsourcing.jbi.adaptor.impl.mock
Class MockInstallationContext

java.lang.Object
  extended by com.ebmwebsourcing.jbi.adaptor.impl.mock.MockInstallationContext
All Implemented Interfaces:
javax.jbi.component.InstallationContext

public class MockInstallationContext
extends java.lang.Object
implements javax.jbi.component.InstallationContext


Constructor Summary
MockInstallationContext(java.io.File installationRoot, org.ow2.petals.component.framework.jbidescriptor.generated.Jbi jbi, javax.jbi.component.ComponentContext componentContext)
           
 
Method Summary
 java.util.List getClassPathElements()
           
 java.lang.String getComponentClassName()
           
 java.lang.String getComponentName()
           
 javax.jbi.component.ComponentContext getContext()
           
 org.w3c.dom.DocumentFragment getInstallationDescriptorExtension()
           
 java.lang.String getInstallRoot()
           
 boolean isInstall()
           
 void setClassPathElements(java.util.List classPathElements)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockInstallationContext

public MockInstallationContext(java.io.File installationRoot,
                               org.ow2.petals.component.framework.jbidescriptor.generated.Jbi jbi,
                               javax.jbi.component.ComponentContext componentContext)
Method Detail

getClassPathElements

public java.util.List getClassPathElements()
Specified by:
getClassPathElements in interface javax.jbi.component.InstallationContext

getComponentClassName

public java.lang.String getComponentClassName()
Specified by:
getComponentClassName in interface javax.jbi.component.InstallationContext

getComponentName

public java.lang.String getComponentName()
Specified by:
getComponentName in interface javax.jbi.component.InstallationContext

getContext

public javax.jbi.component.ComponentContext getContext()
Specified by:
getContext in interface javax.jbi.component.InstallationContext

getInstallationDescriptorExtension

public org.w3c.dom.DocumentFragment getInstallationDescriptorExtension()
Specified by:
getInstallationDescriptorExtension in interface javax.jbi.component.InstallationContext

getInstallRoot

public java.lang.String getInstallRoot()
Specified by:
getInstallRoot in interface javax.jbi.component.InstallationContext

isInstall

public boolean isInstall()
Specified by:
isInstall in interface javax.jbi.component.InstallationContext

setClassPathElements

public void setClassPathElements(java.util.List classPathElements)
Specified by:
setClassPathElements in interface javax.jbi.component.InstallationContext


Copyright © 2005-2011 Petals Link (EBM Websourcing). All Rights Reserved.