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 StringgetAnchorDir()ApplicationClientDescriptorgetDescriptor(URLClassLoader loader)ClassgetMainClass()URIgetURI()voidvalidateDescriptor()
-
-
-
Method Detail
-
getMainClass
public Class getMainClass() throws ClassNotFoundException
- Throws:
ClassNotFoundException
-
getDescriptor
public ApplicationClientDescriptor getDescriptor(URLClassLoader loader) throws IOException, SAXParseException
- Throws:
IOExceptionSAXParseException
-
validateDescriptor
public void validateDescriptor()
-
getURI
public URI getURI()
-
getAnchorDir
public String getAnchorDir()
-
-