Class NestedAppClientInfo
- java.lang.Object
-
- org.glassfish.appclient.client.acc.AppClientInfo
-
- org.glassfish.appclient.client.acc.NestedAppClientInfo
-
public class NestedAppClientInfo extends AppClientInfo
Represents an app client that is nested inside an enterprise app. Note that this could be either an undeployed ear that contains one or more embedded app clients or the generated jar file from the back-end that intentionally resembles an application archive because of other files that had to be packaged with the app client.- Author:
- tjquinn
-
-
Field Summary
-
Fields inherited from class org.glassfish.appclient.client.acc.AppClientInfo
_keepExplodedDir, _logger, isJWS, mainClassFromCommandLine, mainClassNameToRun, USER_CODE_IS_SIGNED_PROPERTYNAME
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ApplicationClientDescriptor
getAppClient(Archivist archivist)
Reports which app client embedded in the application archive is the one the user has selected using either the main class or display name arguments from the command line.protected String
getAppClientRoot(ReadableArchive archive, ApplicationClientDescriptor descriptor)
protected List<String>
getClassPaths(ReadableArchive archive)
Construct the classpaths.-
Methods inherited from class org.glassfish.appclient.client.acc.AppClientInfo
classContainsAnnotation, close, completeInit, deleteAppClientDir, descriptorContainsPURefcs, getAppClient, getClassLoader, getDescriptor, getEntryAsUrl, getLocalString, getMainClassNameToRun, handlePersistenceUnitDependency, massageDescriptor, setDescriptor, toString
-
-
-
-
Method Detail
-
getAppClient
protected ApplicationClientDescriptor getAppClient(Archivist archivist)
Reports which app client embedded in the application archive is the one the user has selected using either the main class or display name arguments from the command line.- Overrides:
getAppClient
in classAppClientInfo
- Returns:
- the app client descriptor for the user-selected app client
-
getClassPaths
protected List<String> getClassPaths(ReadableArchive archive)
Construct the classpaths. The classpaths constructed here is slightly different from the backend. It does not process any web module. The paths included are: 1. all the module root directory (since expansion is needed) 2. all the .jar files found in the archive- Overrides:
getClassPaths
in classAppClientInfo
-
getAppClientRoot
protected String getAppClientRoot(ReadableArchive archive, ApplicationClientDescriptor descriptor)
- Overrides:
getAppClientRoot
in classAppClientInfo
-
-