Searched refs:ctx (Results 1 - 25 of 183) sorted by relevance

12345678

/glassfish-3.1.2/admin/jmx-remote/common/src/main/java/com/sun/enterprise/admin/jmx/remote/streams/
H A DJMXInbandStream.java55 JMXInbandStreamContext ctx = getContext();
56 ctx.outgoing = in;
58 ctx.length = len;
59 thrLocal.set(ctx);
63 JMXInbandStreamContext ctx = getContext();
64 return ctx.outgoing;
68 JMXInbandStreamContext ctx = getContext();
69 return ctx.length;
73 JMXInbandStreamContext ctx = getContext();
74 return ctx
[all...]
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/core/
H A DSessionCookieConfigImpl.java63 private StandardContext ctx; field in class:SessionCookieConfigImpl
70 public SessionCookieConfigImpl(StandardContext ctx) { argument
71 this.ctx = ctx;
83 if (ctx.isContextInitializedCalled()) {
86 "name", ctx.getName()));
90 ctx.setSessionCookieName(name);
111 if (ctx.isContextInitializedCalled()) {
114 "dnmain", ctx.getName()));
138 if (ctx
[all...]
H A DDynamicFilterRegistrationImpl.java55 StandardContext ctx) {
56 super(filterDef, ctx);
60 if (ctx.isContextInitializedCalled()) {
64 ctx.getName()));
54 DynamicFilterRegistrationImpl(FilterDef filterDef, StandardContext ctx) argument
H A DFilterRegistrationImpl.java60 protected StandardContext ctx; field in class:FilterRegistrationImpl
65 FilterRegistrationImpl(FilterDef filterDef, StandardContext ctx) { argument
67 this.ctx = ctx;
87 if (ctx.isContextInitializedCalled()) {
91 ctx.getName()));
117 if (ctx.isContextInitializedCalled()) {
122 ctx.getName()));
129 filterDef.getFilterName(), ctx.getName()));
138 ctx
[all...]
H A DServletRegistrationImpl.java56 protected StandardContext ctx; field in class:ServletRegistrationImpl
62 StandardContext ctx) {
64 this.ctx = ctx;
72 return ctx;
88 if (ctx.isContextInitializedCalled()) {
92 ctx.getName()));
110 if (ctx.isContextInitializedCalled()) {
113 "mapping", wrapper.getName(), ctx.getName()));
120 wrapper.getName(), ctx
61 ServletRegistrationImpl(StandardWrapper wrapper, StandardContext ctx) argument
[all...]
H A DDynamicServletRegistrationImpl.java58 StandardContext ctx) {
59 super(wrapper, ctx);
63 if (ctx.isContextInitializedCalled()) {
67 ctx.getName()));
74 if (ctx.isContextInitializedCalled()) {
78 ctx.getName()));
90 if (ctx.isContextInitializedCalled()) {
94 ctx.getName()));
105 if (ctx.isContextInitializedCalled()) {
108 "run-as", wrapper.getName(), ctx
57 DynamicServletRegistrationImpl(StandardWrapper wrapper, StandardContext ctx) argument
[all...]
/glassfish-3.1.2/core/kernel/src/main/java/com/sun/enterprise/v3/server/
H A DLifecycleEventContextImpl.java52 private ServerContext ctx; field in class:LifecycleEventContextImpl
60 public LifecycleEventContextImpl(ServerContext ctx) { argument
61 this.ctx = ctx;
68 return ctx.getCmdLineArgs();
75 return ctx.getInstallRoot().getPath();
82 return ctx.getInstanceName();
89 return ctx.getInitialContext();
/glassfish-3.1.2/ejb/javax.ejb/src/main/java/javax/ejb/
H A DMessageDrivenBean.java63 * @param ctx A MessageDrivenContext interface for the instance.
69 void setMessageDrivenContext(MessageDrivenContext ctx) throws EJBException; argument
/glassfish-3.1.2/common/glassfish-api/src/main/java/com/sun/appserv/server/
H A DLifecycleEvent.java53 private LifecycleEventContext ctx = null; field in class:LifecycleEvent
82 * @param ctx the underlying context for the lifecycle event
84 public LifecycleEvent(Object source, int eventType, Object eventData, LifecycleEventContext ctx) { argument
89 this.ctx = ctx;
107 return ctx;
/glassfish-3.1.2/tests/quicklook/weld/numberguess/src/java/numberguess/
H A DInterceptorA.java59 public Object around(InvocationContext ctx) throws Exception { argument
62 return ctx.proceed();
67 public void init(InvocationContext ctx) throws Exception { argument
73 ctx.proceed();
77 public void destroy(InvocationContext ctx) throws Exception { argument
79 ctx.proceed();
H A DInterceptorB.java58 public Object around(InvocationContext ctx) throws Exception { argument
61 return ctx.proceed();
66 public void init(InvocationContext ctx) throws Exception { argument
75 ctx.proceed();
79 public void destroy(InvocationContext ctx) throws Exception { argument
81 ctx.proceed();
/glassfish-3.1.2/web/web-glue/src/main/java/com/sun/enterprise/web/
H A DCookieStrategyBuilder.java53 Context ctx,
57 super.initializePersistenceStrategy(ctx, smBean, serverConfigLookup);
63 mgr.setPathname(prependContextPathTo(sessionFilename, ctx));
69 mgr.setSessionLocker(new PESessionLocker(ctx));
72 ctx.setManager(mgr);
74 if (!((StandardContext)ctx).isSessionTimeoutOveridden()) {
52 initializePersistenceStrategy( Context ctx, SessionManager smBean, ServerConfigLookup serverConfigLookup) argument
H A DFileStrategyBuilder.java56 Context ctx,
61 _logger.log(Level.INFO, "webcontainer.filePersistence", ctx.getPath());
64 super.initializePersistenceStrategy(ctx, smBean, serverConfigLookup);
75 mgr.setSessionLocker(new PESessionLocker(ctx));
78 ctx.setManager(mgr);
80 if(!((StandardContext)ctx).isSessionTimeoutOveridden()) {
85 if (ctx.findParameter(JSF_HA_ENABLED) == null) {
86 ctx.addParameter(JSF_HA_ENABLED, "true");
55 initializePersistenceStrategy( Context ctx, SessionManager smBean, ServerConfigLookup serverConfigLookup) argument
H A DMemoryStrategyBuilder.java58 Context ctx,
62 super.initializePersistenceStrategy(ctx, smBean, serverConfigLookup);
66 String ctxPath = ctx.getPath();
69 Object[] params = { ctx.getPath(), persistenceType };
78 mgr.setPathname(prependContextPathTo(sessionFilename, ctx));
84 mgr.setSessionLocker(new PESessionLocker(ctx));
87 ctx.setManager(mgr);
105 if (!((StandardContext)ctx).isSessionTimeoutOveridden()) {
57 initializePersistenceStrategy( Context ctx, SessionManager smBean, ServerConfigLookup serverConfigLookup) argument
/glassfish-3.1.2/core/kernel/src/main/java/com/sun/enterprise/v3/services/impl/
H A DServiceInitializerFilter.java59 public boolean execute(Context ctx) throws IOException { argument
60 return execute(ctx, null);
63 protected boolean execute(Context ctx, ByteBuffer byteBuffer) throws IOException { argument
67 public boolean postExecute(Context ctx) throws IOException { argument
/glassfish-3.1.2/webservices/jsr109-impl/src/main/java/org/glassfish/webservices/monitoring/
H A DGlobalMessageListener.java70 * @param ctx the jaxrpc message trace, transport dependent
72 public void processRequest(String mid, com.sun.xml.rpc.spi.runtime.SOAPMessageContext ctx, TransportInfo info); argument
78 * @param ctx jaxrpc message trace, transport dependent.
80 public void processResponse(String mid, com.sun.xml.rpc.spi.runtime.SOAPMessageContext ctx); argument
86 * @param ctx the jaxrpc message trace, transport dependent
88 public void processRequest(String mid, SOAPMessageContext ctx, TransportInfo info); argument
94 * @param ctx jaxrpc message trace, transport dependent.
96 public void processResponse(String mid, SOAPMessageContext ctx); argument
/glassfish-3.1.2/ejb/ejb-container/src/main/java/com/sun/ejb/spi/container/
H A DSFSBContainerCallback.java56 StatefulEJBContext ctx, Object cookie);
58 public boolean passivateEJB(StatefulEJBContext ctx); argument
55 activateEJB(Object sessionKey, StatefulEJBContext ctx, Object cookie) argument
/glassfish-3.1.2/ejb/ejb-internal-api/src/main/java/org/glassfish/ejb/spi/
H A DCMPDeployer.java50 void deploy(DeploymentContext ctx) throws DeploymentException; argument
52 void clean(DeploymentContext ctx); argument
/glassfish-3.1.2/common/glassfish-naming/src/main/java/com/sun/enterprise/naming/impl/
H A DWrappedSerialContext.java106 Context ctx = NamingManager.getURLContext(scheme, myProps);
107 if (ctx != null)
109 return ctx;
124 Context ctx = NamingManager.getURLContext(scheme, myProps);
125 if (ctx != null)
127 return ctx;
/glassfish-3.1.2/persistence/common/src/main/java/org/glassfish/persistence/common/
H A DPersistenceHelper.java58 public static DataSource lookupNonTxResource(ConnectorRuntime connectorRuntime, DeploymentContext ctx, String dataSourceName) throws NamingException { argument
59 return DataSource.class.cast(connectorRuntime.lookupNonTxResource(getResourceInfo(ctx, dataSourceName), true));
62 public static DataSource lookupPMResource(ConnectorRuntime connectorRuntime, DeploymentContext ctx, String dataSourceName) throws NamingException { argument
63 return DataSource.class.cast(connectorRuntime.lookupPMResource(getResourceInfo(ctx, dataSourceName), true));
66 private static ResourceInfo getResourceInfo(DeploymentContext ctx, String dataSourceName) { argument
69 String applicationName = ctx.getCommandParameters(OpsParams.class).name();
/glassfish-3.1.2/common/annotation-framework/src/main/java/org/glassfish/apf/impl/
H A DAnnotationProcessorImpl.java97 ProcessingContext ctx = new ProcessingContextImpl(this);
98 ctx.setErrorHandler(new DefaultErrorHandler());
99 return ctx;
121 * @param ctx is the initialized processing context
124 public ProcessingResult process(ProcessingContext ctx) argument
128 Scanner<Object> scanner = ctx.getProcessingInput();
134 result.add(process(ctx, c));
151 public ProcessingResult process(ProcessingContext ctx, Class[] classes) argument
156 result.add(process(ctx, c));
161 private ProcessingResult process(ProcessingContext ctx, Clas argument
244 processParameters(ProcessingContext ctx, Annotation[][] parametersAnnotations) argument
265 processAnnotations(ProcessingContext ctx, ElementType type, AnnotatedElement element) argument
279 processAnnotations(ProcessingContext ctx, AnnotatedElement element) argument
299 process(ProcessingContext ctx, AnnotationInfo element, HandlerProcessingResultImpl result) argument
[all...]
/glassfish-3.1.2/ejb/ejb-container/src/main/java/com/sun/ejb/containers/
H A DSFSBTxCheckpointCoordinator.java71 void registerContext(SessionContextImpl ctx) { argument
72 ctxList.add(ctx);
82 SessionContextImpl ctx = contexts[i];
84 (StatefulSessionContainer) ctx.getContainer();
85 SimpleMetadata beanState = container.getSFSBBeanState(ctx);
87 states.add(new StoreAndBeanState((Serializable) ctx.getInstanceKey(),
88 container.getBackingStore(), beanState, !ctx.existsInStore()));
109 SessionContextImpl ctx = contexts[i];
111 (StatefulSessionContainer) ctx.getContainer();
112 container.txCheckpointCompleted(ctx);
[all...]
/glassfish-3.1.2/ejb/ejb-container/src/main/java/com/sun/ejb/containers/interceptors/
H A DSystemInterceptorProxy.java119 public void init(InvocationContext ctx) throws Throwable { argument
120 doCallback(ctx, postConstruct);
124 public void destroy(InvocationContext ctx) throws Throwable { argument
125 doCallback(ctx, preDestroy);
129 private void doCallback(InvocationContext ctx, Method m) throws Throwable { argument
133 m.invoke(delegate, ctx);
138 ctx.proceed();
143 public Object aroundInvoke(InvocationContext ctx) throws Throwable { argument
144 return doAround(ctx, aroundInvoke);
148 public Object aroundTimeout(InvocationContext ctx) throw argument
152 doAround(InvocationContext ctx, Method m) argument
[all...]
/glassfish-3.1.2/admingui/common/src/main/java/org/glassfish/admingui/common/servlet/
H A DClientStubsContentSource.java81 public InputStream getInputStream(DownloadServlet.Context ctx) { argument
83 ctx.setAttribute(DownloadServlet.EXTENSION, "CLIENT-STUBS");
86 HttpServletRequest request = (HttpServletRequest) ctx.getServletRequest();
110 ctx.setAttribute("tmpFile", tmpFile); // NOI18N
121 public void cleanUp(DownloadServlet.Context ctx) { argument
124 (InputStream) ctx.getAttribute("tmpFile"); // NOI18N
135 ctx.removeAttribute("tmpFile"); // NOI18N
H A DLBConfigContentSource.java89 public InputStream getInputStream(DownloadServlet.Context ctx) { argument
91 ctx.setAttribute(DownloadServlet.EXTENSION, "LB-CONFIG");
94 HttpServletRequest request = (HttpServletRequest) ctx.getServletRequest();
118 ctx.setAttribute("tmpFile", tmpFile); // NOI18N
129 public void cleanUp(DownloadServlet.Context ctx) { argument
132 (InputStream) ctx.getAttribute("tmpFile"); // NOI18N
143 ctx.removeAttribute("tmpFile"); // NOI18N

Completed in 1272 milliseconds

12345678