Class MainClassLaunchable
- java.lang.Object
-
- org.glassfish.appclient.client.acc.MainClassLaunchable
-
public class MainClassLaunchable extends Object
Represents a Launchable main class which the caller specifies by the main class itself, rather than a facade JAR or an original developer-provided JAR file.- Author:
- tjquinn
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAnchorDir()
ApplicationClientDescriptor
getDescriptor(URLClassLoader loader)
Class
getMainClass()
URI
getURI()
void
validateDescriptor()
-
-
-
Method Detail
-
getMainClass
public Class getMainClass() throws ClassNotFoundException
- Throws:
ClassNotFoundException
-
getDescriptor
public ApplicationClientDescriptor getDescriptor(URLClassLoader loader) throws IOException, SAXParseException
- Throws:
IOException
SAXParseException
-
validateDescriptor
public void validateDescriptor()
-
getURI
public URI getURI()
-
getAnchorDir
public String getAnchorDir()
-
-