Searched refs:apps (Results 1 - 24 of 24) sorted by relevance

/glassfish-3.1.2/admin/config-api/src/test/java/com/sun/enterprise/configapi/tests/
H A DApplicationsTest.java65 Applications apps = getHabitat().getComponent(Applications.class);
66 assertTrue(apps!=null);
71 Applications apps = getHabitat().getComponent(Applications.class);
72 List<ApplicationName> modules = apps.getModules();
81 Applications apps = getHabitat().getComponent(Applications.class);
82 Application app = apps.getApplication("simple");
94 Applications apps = getHabitat().getComponent(Applications.class);
104 }, apps);
H A DCollectionsAccessTest.java70 Applications apps = getHabitat().getComponent(Applications.class);
71 assertTrue(apps!=null);
72 apps.getModules().add(null);
77 final Applications apps = getHabitat().getComponent(Applications.class);
78 assertTrue(apps!=null);
81 // this is the bug, we should not get the list from apps but from param.
82 List<ApplicationName> modules = apps.getModules();
87 }, apps);
92 final Applications apps = getHabitat().getComponent(Applications.class);
93 assertTrue(apps!
[all...]
H A DModulesTest.java65 Applications apps = getHabitat().getComponent(Applications.class);
66 assertTrue(apps!=null);
67 modules = apps.getModules();
H A DUpgradeTest.java91 Applications apps = getHabitat().getComponent(Applications.class);
92 assertTrue(apps!=null);
93 for (Application app : apps.getApplications()) {
/glassfish-3.1.2/common/internal-api/src/main/java/org/glassfish/internal/data/
H A DApplicationRegistry.java63 private Map<String, ApplicationInfo> apps = new HashMap<String, ApplicationInfo>(); field in class:ApplicationRegistry
66 apps.put(name, info);
70 return apps.get(name);
75 apps.remove(name);
79 return apps.keySet();
/glassfish-3.1.2/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/
H A DApplications.java111 public static <T> List<T> getModules(Applications apps, Class<T> type) { argument
113 for (Object module : apps.getModules()) {
123 public static <T> T getModule(Applications apps, Class<T> type, String moduleID) { argument
128 for (ApplicationName module : apps.getModules())
136 public static List<Application> getApplications(Applications apps) { argument
137 return getModules(apps, Application.class);
140 public static Application getApplication(Applications apps, String moduleID) { argument
145 for (ApplicationName module : apps.getModules())
153 Applications apps, String snifferType) {
154 return getApplicationsWithSnifferType(apps, snifferTyp
152 getApplicationsWithSnifferType( Applications apps, String snifferType) argument
157 getApplicationsWithSnifferType( Applications apps, String snifferType, boolean onlyStandaloneModules) argument
[all...]
H A DConfigBeansUtilities.java62 private static Applications apps; field in class:ConfigBeansUtilities
141 return allApps; //if there are no sys-apps, none can reference one :)
207 * Lists the app refs for non-system apps assigned to the specified server
209 * @return List of ApplicationRef for non-system apps assigned to the specified server
216 * Lists the app refs for apps assigned to the specified server, excluding
217 * system apps from the result if requested.
219 * @param excludeSystemApps whether system apps should be excluded
220 * @return List of ApplicationRef for apps assigned to the specified server
281 for (ApplicationName module : apps.getModules()) {
H A DDomain.java591 return allApps; //if there are no sys-apps, none can reference one :)
865 List<Application> apps = new ArrayList<Application>();
871 apps.add(app);
874 return apps;
/glassfish-3.1.2/deployment/autodeploy/src/main/java/org/glassfish/deployment/autodeploy/
H A DAutoDeployer.java121 * @param virtualServer the virtual server to which to deploy apps to
148 * @param enabled whether apps should be enabled upon auto-deployment
489 File[] apps= null;
491 //get me all apps
492 apps= directoryScanner.getAllFilesForUndeployment(autoDeployDir, includeSubdir);
495 if(apps !=null) {
496 for (int i=0; i< apps.length && !cancelDeployment;i++) {
499 this.undeploy(apps[i], autoDeployDir,
500 getNameFromFilePath(autoDeployDir, apps[i]));
507 directoryScanner.undeployedEntity(autoDeployDir, apps[
[all...]
H A DAutoUndeploymentOperation.java73 Applications apps; field in class:AutoUndeploymentOperation
132 List<Application> applications = apps.getApplications();
/glassfish-3.1.2/admin/config-api/src/main/java/org/glassfish/config/support/
H A DUpgradeService.java212 // to represent different type of apps
214 // all type of apps
219 // 2. remove all the system apps
220 Applications apps = domain.getApplications();
231 ConfigBeanProxy apps_w = t.enroll(apps);
238 apps.getModules(ConnectorModule.class)) {
274 apps.getModules(EjbModule.class)) {
313 apps.getModules(WebModule.class)) {
353 apps.getModules(AppclientModule.class)) {
395 apps
[all...]
/glassfish-3.1.2/appclient/server/core/src/main/java/org/glassfish/appclient/server/admin/
H A DGetRelativeJWSURICommand.java95 private Applications apps; field in class:GetRelativeJWSURICommand
101 final Application app = apps.getApplication(appname);
/glassfish-3.1.2/appclient/server/core/src/main/java/org/glassfish/appclient/server/core/
H A DGetClientStubsCommand.java78 private Applications apps; field in class:GetClientStubsCommand
99 for (Application app : apps.getApplications()) {
/glassfish-3.1.2/load-balancer/admin/src/main/java/org/glassfish/loadbalancer/admin/cli/reader/impl/
H A DClusterReaderHelper.java105 Set<Application> apps = new HashSet<Application>();
106 apps.addAll(applications.getApplicationsWithSnifferType("web"));
107 apps.addAll(applications.getApplicationsWithSnifferType("webservices"));
109 Iterator<Application> appsIter = apps.iterator();
/glassfish-3.1.2/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/
H A DServerSynchronizer.java336 Map<String, Application> apps = getApps(server);
340 if (apps.containsKey(mt.name)) {
341 syncApp(apps.get(mt.name), appsDir, mt, payload);
343 apps.remove(mt.name);
345 removeApp(apps.get(mt.name), appsDir, mt, payload);
348 // now do all the remaining apps the client doesn't have
349 for (Map.Entry<String, Application> e : apps.entrySet())
364 Map<String, Application> apps = new HashMap<String, Application>();
366 return apps; // no apps
[all...]
/glassfish-3.1.2/common/container-common/src/main/java/org/glassfish/javaee/services/
H A DApplicationScopedResourcesManager.java98 Collection<Application> apps = applications.getApplications();
99 if(apps != null){
100 for(Application app : apps){
205 Collection<Application> apps = applications.getApplications();
206 if(apps != null){
207 for(Application app : apps){
/glassfish-3.1.2/jbi/serviceengine/sun-javaee-engine/src/main/java/com/sun/enterprise/jbi/serviceengine/bridge/
H A DEndpointHelper.java282 Applications apps = runtimeHelper.getApplications();
288 J2eeApplication app = apps.getModule(J2eeApplication.class, applicationName);
292 EjbModule ejbApp = apps.getModule(EjbModule.class, applicationName);
296 WebModule webApp = apps.getModule(WebModule.class, applicationName);
/glassfish-3.1.2/web/gui-plugin-common/src/main/java/org/glassfish/web/plugin/common/
H A DWebModuleConfigCommand.java72 private Applications apps; field in class:WebModuleConfigCommand
94 final Application result = apps.getModule(Application.class,
/glassfish-3.1.2/core/kernel/src/main/java/com/sun/enterprise/v3/server/
H A DLifecycleModuleService.java88 Applications apps; field in class:LifecycleModuleService
143 List<Application> applications = apps.getApplications();
H A DApplicationLifecycle.java1332 Applications apps = dmn.getApplications();
1333 ConfigBeanProxy apps_w = t.enroll(apps);
1334 for (ApplicationName module : apps.getModules()) {
/glassfish-3.1.2/deployment/admin/src/main/java/org/glassfish/deployment/admin/
H A DUndeployCommand.java116 Applications apps; field in class:UndeployCommand
187 Application application = apps.getModule(Application.class, appName);
H A DDeployCommand.java109 Applications apps; field in class:DeployCommand
273 new ApplicationConfigInfo(apps.getModule(Application.class, name));
573 Application app = apps.getModule(Application.class, name);
/glassfish-3.1.2/connectors/connectors-runtime/src/main/java/com/sun/enterprise/connectors/util/
H A DResourcesUtil.java153 List<Application> apps = getApplications().getApplications();
154 for(Application app : apps){
800 /* Collection<Application> apps = getApplications().getApplications();
801 for(Application app : apps){
848 Applications apps = getDomain().getApplications();
849 Application app = apps.getApplication(appName);
/glassfish-3.1.2/web/web-glue/src/main/java/com/sun/enterprise/web/
H A DVirtualServer.java707 // admin-vs then return false because we don't want to load user apps
2109 Applications apps = domain.getApplications();
2143 new ApplicationConfigInfo(apps.getModule(com.sun.enterprise.config.serverbeans.Application.class, params.name));
2172 com.sun.enterprise.config.serverbeans.Application appBean = apps.getApplication(params.name);

Completed in 85 milliseconds