Searched refs:application (Results 1 - 25 of 118) sorted by relevance

12345

/glassfish-3.1.2/web/weld-integration/src/main/java/org/glassfish/weld/jsf/
H A DWeldApplicationFactory.java43 import javax.faces.application.Application;
44 import javax.faces.application.ApplicationFactory;
50 private Application application; field in class:WeldApplicationFactory
57 public void setApplication(Application application) { argument
58 this.application = application;
59 delegate.setApplication(application);
64 if (application == null) {
65 application = new WeldApplication(delegate.getApplication());
67 return application;
[all...]
H A DWeldApplication.java46 import javax.faces.application.Application;
47 import javax.faces.application.ApplicationWrapper;
62 private final Application application; field in class:WeldApplication
65 public WeldApplication(Application application) { argument
66 this.application = application;
69 application.addELContextListener(Util.<ELContextListener>newInstance(
71 application.addELResolver(beanManager.getELResolver());
80 return this.application;
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/app/
H A DApplicationVerifier.java54 private Application application = null; field in class:ApplicationVerifier
58 this.application = verifierFrameworkContext.getApplication();
62 * Responsible for running application based verifier tests on the the web archive.
73 application.setClassLoader(context.getClassLoader());
75 verify(application, checkMgrImpl);
79 return application;
83 return application.getClassLoader();
94 String dd[] = {"META-INF/sun-application.xml", // NOI18N
95 "META-INF/application.xml",
96 "META-INF/glassfish-application
[all...]
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/archivist/
H A DApplicationFactory.java70 * Factory for application object
96 * Open a jar file and return an application object for the modules contained
98 * create an empty application and add the standalone module to it
101 * @return the application object
110 * Open a jar file and return an application object for the modules contained
112 * create an empty application and add the standalone module to it
117 * @return the application object
123 // module type is found and the application object created
126 Application application = openArchive(archivist, archive, handleRuntimeInfo);
128 return application;
237 openWith(Application application, ReadableArchive archive, Archivist archivist) argument
[all...]
H A DDescriptorArchivist.java74 * writes an application deployment descriptors
75 * @param the application object
78 public void write(Application application, ReadableArchive in, argument
80 if (application.isVirtual()) {
81 ModuleDescriptor aModule = (ModuleDescriptor) application.getModules().iterator().next();
85 // this is a real application.
88 for (ModuleDescriptor aModule : application.getModules()) {
91 // the application is using alternate deployment descriptors
138 // now let's write the application descriptor
142 archivist.setDescriptor(application);
[all...]
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/node/
H A DApplicationNode.java150 Application application = getDescriptor();
153 application.setLibraryDirectory(value);
156 application.setAppName(value);
159 application.setInitializeInOrder(Boolean.valueOf(value));
222 public Node writeDescriptor(Node parent, Application application) { argument
223 Node appNode = super.writeDescriptor(parent, application);
226 appendTextChild(appNode, ApplicationTagNames.INITIALIZE_IN_ORDER, String.valueOf(application.isInitializeInOrder()));
230 for (ModuleDescriptor md : application.getModules()) {
240 if (application.getLibraryDirectoryRawValue() != null) {
242 application
[all...]
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/util/
H A DApplicationValidator.java68 private Application application; field in class:ApplicationValidator
71 * visit an application object
72 * @param application the application descriptor
74 public void accept(Application application) { argument
75 this.application = application;
76 if (application.getBundleDescriptors().size() == 0) {
78 application.getRegistrationName() +
82 // now resolve any conflicted module names in the application
[all...]
H A DApplicationVisitor.java57 * visit an application object
58 * @param application the application descriptor
60 public void accept(Application application); argument
H A DDOLUtils.java115 // add libraries jars inside application lib directory
125 Application application = context.getModuleMetaData(Application.class);
126 if (application == null) return null; // this can happen for non-JavaEE type deployment. e.g., issue 15869
128 if (application.isVirtual()) {
130 return application.getStandaloneBundleDescriptor();
133 return application;
137 return application.getModuleByUri(ctx.getModuleUri());
144 // adapter in this application
/glassfish-3.1.2/deployment/javaee-core/src/main/java/org/glassfish/javaee/core/deployment/
H A DDolProvider.java162 Application application=null;
164 application = holder.app;
166 application.setAppName(name);
167 application.setClassLoader(cl);
169 if (application.isVirtual()) {
170 ModuleDescriptor md = application.getStandaloneBundleDescriptor().getModuleDescriptor();
175 applicationFactory.openWith(application, sourceArchive,
185 application = applicationFactory.openArchive(
188 application.setAppName(name);
190 ModuleDescriptor md = application
301 saveAppDescriptor(Application application, DeploymentContext context) argument
320 addModuleConfig(DeploymentContext dc, Application application) argument
[all...]
H A DListSubComponentsCommand.java132 report.setMessage(localStrings.getLocalString("application.notreg","Application {0} not registered", applicationName));
138 Application application = applications.getApplication(applicationName);
140 if (application.isLifecycleModule() || application.isOSGiModule()) {
149 report.setMessage(localStrings.getLocalString("application.not.enabled","Application {0} is not in an enabled state", applicationName));
221 Module module = application.getModule(key);
226 parameters.add("appname", application.getName());
250 private List<String> getSubModulesForEar(com.sun.enterprise.deployment.Application application) { argument
252 for (ModuleDescriptor moduleDesc : application.getModules()) {
263 private Map<String, String> getAppLevelComponents(com.sun.enterprise.deployment.Application application, Strin argument
[all...]
/glassfish-3.1.2/tests/embedded/maven-plugin/jsftest/src/main/java/org/glassfish/tests/embedded/jsftest/
H A DJSFTestServlet.java44 import javax.faces.application.Application;
45 import javax.faces.application.ViewHandler;
82 Application application = facesContext.getApplication();
83 ViewHandler viewHandler = application.getViewHandler();
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/tests/web/elements/
H A DMimeTypes.java44 * Mime type element contains an legal mime type within web application test.
123 static String [] application = { field in interface:MimeTypes
419 |-application-
490 application/oda EBP - ODA [RFC1494]
491 application/octet-stream bilaterally-defined [RFC1494]
492 application/postscript EBP - mime-postscript-body [RFC1494]
516 bilaterally-defined application/octet-stream [RFC1494]
523 ODA application/oda [RFC1494]
524 mime-postscript-body application/postscript [RFC1494]
/glassfish-3.1.2/common/internal-api/src/main/java/org/glassfish/internal/api/
H A DClassLoaderHierarchy.java55 * of an application.
96 * a class loader specific to an application. When a singleton class loader
99 * to an application is returned, such a class loader will have visibility
100 * to only standalone RARs that the application depends on.
102 * @param application Application whose class loader hierarchy is being set
106 DelegatingClassLoader getConnectorClassLoader(String application); argument
111 * available in 'applibs' directory) for an application.
115 * @param application Application for which this class loader is created
118 * application specific libraries.
122 ClassLoader getAppLibClassLoader(String application, Lis argument
[all...]
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/
H A DDescriptorFactory.java81 Application application; field in class:DescriptorFactory.ResultHolder
107 * @param destRootDir root destination directory where the application
115 Application application = null;
158 application = applicationFactory.openArchive(
163 if (application != null) {
164 application.setClassLoader(cl);
165 application.visit((ApplicationVisitor) new ApplicationValidator());
176 result.application = application;
H A DVerifierFrameworkContext.java86 private Application application = null; field in class:VerifierFrameworkContext
99 * @return returns true if application tests are enabled with partioning option.
107 * @return returns true if application client tests are enabled with
173 * application related tests
182 * application client related tests
417 return application;
420 public void setApplication(Application application) { argument
421 this.application = application;
/glassfish-3.1.2/ejb/ejb-container/src/main/java/com/sun/ejb/
H A DContainerFactory.java45 import org.glassfish.ejb.security.application.EJBSecurityManager;
/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/
H A DSecurityContainer.java98 Application application = new Application(habitat);
99 application.setVirtual(true);
100 application.setName(DEFAULT_WEB_MODULE_NAME);
101 application.setRegistrationName(DEFAULT_WEB_MODULE_NAME);
102 wbd.setApplication(application);
121 // for an application the securityRoleMapper should already be
/glassfish-3.1.2/deployment/javaee-full/src/main/java/org/glassfish/javaee/full/deployment/
H A DEarDeployer.java127 final Application application = context.getModuleMetaData(Application.class);
132 final ApplicationInfo appInfo = new CompositeApplicationInfo(events, application, context.getSource(), appName);
138 doOnAllBundles(application, new BundleBlock<ModuleInfo>() {
140 ExtendedDeploymentContext sContext = subContext(application, context, bundle.getArchiveUri());
141 ModuleInfo info = prepareBundle(bundle, application,
150 info.addMetaData(application);
151 BundleDescriptor bundleDesc = application.getModuleByUri(
189 final Application application; field in class:EarDeployer.CompositeApplicationInfo
191 private CompositeApplicationInfo(Events events, Application application, ReadableArchive source, String name) { argument
193 this.application
220 doOnAllTypedBundles(Application application, XModuleType type, BundleBlock runnable) argument
228 doOnAllBundles(Application application, BundleBlock runnable) argument
270 prepareBundle(final ModuleDescriptor md, Application application, final ExtendedDeploymentContext bundleContext) argument
311 subContext(final Application application, final DeploymentContext context, final String moduleUri) argument
478 getSniffersForModule( DeploymentContext bundleContext, ModuleDescriptor md, Application application) argument
[all...]
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/node/runtime/application/
H A DApplicationRuntimeNode.java41 package com.sun.enterprise.deployment.node.runtime.application;
195 throw new RuntimeException("No bundle in application with uri " + currentWebUri);
249 public Node writeDescriptor(Node parent, String nodeName, Application application) { argument
250 Node appNode = super.writeDescriptor(parent, nodeName, application);
253 for (ModuleDescriptor module : application.getModules()) {
262 if (application.isPassByReferenceDefined()) {
263 appendTextChild(appNode, RuntimeTagNames.PASS_BY_REFERENCE, String.valueOf(application.getPassByReference()));
270 List<SecurityRoleMapping> roleMappings = application.getSecurityRoleMappings();
277 appendTextChild(appNode, RuntimeTagNames.REALM, application.getRealm());
280 RuntimeDescriptorNode.writeCommonComponentInfo(appNode, application);
[all...]
H A DWLApplicationRuntimeNode.java41 package com.sun.enterprise.deployment.node.runtime.application;
69 * application.
73 public final static String SCHEMA_ID = "weblogic-application.xsd";
136 * @return the application instance to associate with this XMLNode
183 public Node writeDescriptor(Node parent, String nodeName, Application application) { argument
187 // application-param*
189 application.getApplicationParams();
201 for (WLModuleDescriptor md : application.getWLModules()) {
205 List<WLSecurityRoleAssignment> wlRoleAssignments = application.getWlRoleAssignments();
/glassfish-3.1.2/connectors/admin/src/main/java/org/glassfish/connectors/admin/cli/
H A DPingConnectionPool.java111 Application application = applications.getApplication(applicationName);
112 Module module = application.getModule(moduleName);
119 Application application = applications.getApplication(applicationName);
120 resources = application.getResources();
H A DConnectionPoolUtil.java77 Application application = applications.getApplication(applicationName);
78 if (application != null) {
79 if (application.getEnabled().equalsIgnoreCase("true")) {
105 Application application = applications.getApplication(applicationName);
111 Module module = application.getModule(moduleName);
161 "Module {0} does not exist in application {1}.", moduleName, applicationName));
/glassfish-3.1.2/admin/config-api/src/test/java/com/sun/enterprise/configapi/tests/
H A DApplicationsTest.java99 for (Application application : param.getApplicationsWithSnifferType(Application.WEB_SNIFFER_TYPE)) {
100 assertTrue(appList.remove(application));
/glassfish-3.1.2/admin/runtime/jsr77/src/main/java/org/glassfish/admin/runtime/jsr77/
H A DApplicationVisitorImpl.java70 * visit an application object
71 * @param application the application descriptor
73 public void accept(Application application) { argument
74 System.out.println("MSR: ApplicationVisitorImpl accept ..." + application);
76 // create mbean for application

Completed in 53 milliseconds

12345