public class FileDeployment extends java.lang.Object implements Deployment
| Constructor and Description |
|---|
FileDeployment() |
FileDeployment(java.io.File deployedFile) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.lang.ClassLoader |
getClassLoader()
Returns a
ClassLoader capable of loading the classes encapsulated by this deployment |
java.util.Set<java.lang.Class<?>> |
getConsumers()
Gives all of the classes in the deployment that consume a source.
|
java.util.Set<java.lang.Class<?>> |
getCoreServices() |
java.io.File |
getDeployedFile() |
org.reflections.Reflections |
getReflections() |
java.util.Set<java.lang.Class<?>> |
getServices() |
boolean |
isClass() |
boolean |
isJar() |
void |
setDeployedFile(java.io.File deployedFile) |
java.lang.String |
toString() |
public FileDeployment()
public FileDeployment(java.io.File deployedFile)
throws java.io.IOException
java.io.IOExceptionpublic boolean isJar()
public boolean isClass()
public java.io.File getDeployedFile()
public void setDeployedFile(java.io.File deployedFile)
public java.lang.ClassLoader getClassLoader()
DeploymentClassLoader capable of loading the classes encapsulated by this deploymentgetClassLoader in interface DeploymentClassLoaderpublic java.util.Set<java.lang.Class<?>> getCoreServices()
getCoreServices in interface DeploymentCoreService annotationpublic java.util.Set<java.lang.Class<?>> getServices()
getServices in interface DeploymentService annotationpublic java.util.Set<java.lang.Class<?>> getConsumers()
DeploymentgetConsumers in interface DeploymentSourceType type annotationpublic org.reflections.Reflections getReflections()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object