Searched refs:proxy (Results 1 - 25 of 117) sorted by relevance

12345

/glassfish-3.1.2/tests/amx/src/org/glassfish/admin/amxtest/config/
H A DHTTPServiceConfigTest.java64 proxy() method in class:HTTPServiceConfigTest
78 RequestProcessingConfig on = proxy().getRequestProcessingConfig();
81 on = proxy().createRequestProcessingConfig(EMPTY_MAP);
82 assert on == proxy().getRequestProcessingConfig();
84 RequestProcessingConfig rp = proxy().getRequestProcessingConfig();
87 proxy().removeRequestProcessingConfig();
98 KeepAliveConfig on = proxy().getKeepAliveConfig();
101 on = proxy().createKeepAliveConfig(EMPTY_MAP);
102 assert on == proxy().getKeepAliveConfig();
104 KeepAliveConfig rp = proxy()
[all...]
H A DConfigMgrTestBase.java106 final AMXConfig proxy = createProgeny(name, ILLEGAL_OPTIONS);
137 AMXConfig proxy = getProgeny(name);
138 if (proxy != null) {
139 final ObjectName objectName = Util.getExtra(proxy).getObjectName();
144 proxy = null;
153 proxy = createProgeny(name, null);
160 assert (proxy.getName().equals(name));
161 final ObjectName objectName = Util.getObjectName(proxy);
164 assert (container.getContainee(progenyJ2EEType, name) == proxy);
166 assert (progeny == proxy);
[all...]
/glassfish-3.1.2/ejb/ejb-container/src/main/java/com/sun/ejb/containers/
H A DOptionalLocalInterfaceProvider.java54 public void setOptionalLocalIntfProxy(Proxy proxy); argument
/glassfish-3.1.2/admin/util/src/main/java/com/sun/enterprise/admin/util/proxy/
H A DInterceptor.java41 package com.sun.enterprise.admin.util.proxy;
H A DInterceptorImpl.java41 package com.sun.enterprise.admin.util.proxy;
H A DCallState.java41 package com.sun.enterprise.admin.util.proxy;
/glassfish-3.1.2/tests/amx/src/org/glassfish/admin/amxtest/base/
H A DNotificationServiceTest.java79 final NotificationServiceMgr proxy = getNotificationServiceMgr();
81 return (proxy.createNotificationService("test", 512));
87 final NotificationService proxy = create();
89 removeNotificationService(proxy);
95 final NotificationService proxy = create();
97 assert (proxy.getListeneeSet().size() == 0);
98 final Object id = proxy.createBuffer(10, null);
99 final Map<String, Object> result = proxy.getBufferNotifications(id, 0);
100 final Notification[] notifs = (Notification[]) result.get(proxy.NOTIFICATIONS_KEY);
154 final NotificationService proxy
[all...]
H A DNotificationServiceMgrTest.java76 final NotificationServiceMgr proxy = getNotificationServiceMgr();
78 final NotificationService service = proxy.createNotificationService("test1", 512);
82 proxy.removeNotificationService(service.getName());
/glassfish-3.1.2/admin/config-api/src/test/java/com/sun/enterprise/configapi/tests/
H A DTraversalTest.java75 private void introspect(int indent, Dom proxy) { argument
77 Set<String> ss = proxy.getAttributeNames();
82 logger.fine(id + "--------" + proxy.model.key);
85 logger.fine(id + a + "=" + proxy.attribute(a));
89 Set<String> elem = proxy.getElementNames();
95 org.jvnet.hk2.config.ConfigModel.Property prop = proxy.model.getElement(bb);
96 if (prop != null && proxy.model.getElement(bb).isLeaf()) {
97 logger.fine(proxy.leafElement(bb));
99 introspect(indent, proxy.element(bb));
/glassfish-3.1.2/common/amx-core/src/main/java/org/glassfish/admin/amx/core/proxy/
H A Dpackage-info.java42 package org.glassfish.admin.amx.core.proxy;
H A DProxyFactory.java41 package org.glassfish.admin.amx.core.proxy;
156 The connection is bad. Tell each proxy its gone and remove it.
165 final AMXProxyHandler proxy = AMXProxyHandler.unwrap(amx);
166 proxy.connectionBad();
195 // should probably check each proxy for validity, but not clear if it's important...
470 Get any existing proxy, returning null if none exists and 'create' is false.
471 If an MBean is no longer registered, the proxy returned will be null.
473 @param objectName ObjectName for which a proxy should be created
474 @param intf class of returned proxy, avoids casts and compiler warnings
485 final T proxy
[all...]
/glassfish-3.1.2/tests/amx/src/org/glassfish/admin/amxtest/client/
H A DProxyTest.java80 final AMX proxy = getProxyFactory().getProxy(src, AMX.class);
82 Util.getObjectName(proxy);
83 proxy.getContainer();
84 proxy.getDomainRoot();
96 final AMX proxy = getProxyFactory().getProxy(src, AMX.class);
98 assert (proxy == getProxyFactory().getProxy(src, AMX.class));
99 assert (proxy.getContainer() == proxy.getContainer());
100 assert (proxy.getDomainRoot() == proxy
185 testProxyGetters(final AMX proxy) argument
[all...]
H A DProxyFactoryTest.java74 detects this, and removes any proxy from its cache.
87 final NotificationService proxy =
89 assert (proxy == ns) : "proxies differ: " + ns + "\n" + proxy;
98 trace("testProxyFactoryDetectsMBeanRemoved: waiting for proxy to be removed");
/glassfish-3.1.2/common/amx-core/src/main/java/org/glassfish/admin/amx/core/
H A DAMXValidator.java83 import org.glassfish.admin.amx.core.proxy.ProxyFactory;
534 private void _validate(final AMXProxy proxy, final ProblemList problems) throws InstanceNotFoundException argument
536 progress( "Validate: ", proxy.objectName() );
537 final ObjectName objectName = proxy.objectName();
541 validateObjectName(proxy);
550 validateMetadata(proxy, problems);
559 validateRequiredAttributes(proxy);
570 final String name = proxy.getName();
579 final ObjectName parent = proxy.getParent();
587 final ObjectName[] children = proxy
760 validateAMXConfig(final AMXProxy proxy, final ProblemList problems) argument
814 validateObjectName(final AMXProxy proxy) argument
868 validateChildren(final AMXProxy proxy) argument
1105 validateMetadata(final AMXProxy proxy, final ProblemList problems) argument
1184 validateRequiredAttributes(final AMXProxy proxy) argument
[all...]
H A DExtra.java43 import org.glassfish.admin.amx.core.proxy.ProxyFactory;
64 @return the {@link ProxyFactory} that created this proxy.
/glassfish-3.1.2/admin/config-api/src/main/java/org/glassfish/config/support/
H A DTypeAndNameResolver.java69 T proxy = habitat.getComponent(type, name);
70 if (proxy==null) {
76 return proxy;
H A DTypeResolver.java73 T proxy = habitat.getComponent(type);
74 if (proxy==null) {
76 proxy = type.cast(ConfigSupport.apply(new SingleConfigCode<Domain>() {
104 if (proxy==null) {
111 return proxy;
H A DTargetBasedResolver.java77 ConfigBeanProxy proxy = getTarget(Config.class, type);
78 if (proxy==null) {
79 proxy=getTarget(Cluster.class, type);
81 if (proxy==null) {
82 proxy=getTarget(Server.class, type);
84 return type.cast(proxy);
/glassfish-3.1.2/admin/rest/src/main/java/org/glassfish/admin/rest/provider/
H A DGetResultListJsonProvider.java74 public String getContent(GetResultList proxy) { argument
78 obj.put(KEY_METHODS, getJsonForMethodMetaData(proxy.getMetaData()));
79 if (proxy.getDomList().size() > 0) {
80 obj.put(KEY_CHILD_RESOURCES, getResourcesLinks(proxy.getDomList()));
82 if (proxy.getCommandResourcesPaths().length > 0) {
83 obj.put(KEY_COMMANDS, getCommandLinks(proxy.getCommandResourcesPaths()));
H A DActionReportResultHtmlProvider.java77 public String getContent(ActionReportResult proxy) { argument
78 RestActionReporter ar = (RestActionReporter) proxy.getActionReport();
85 if (proxy.isError()) {
87 .append(proxy.getErrorMessage());
91 final MethodMetaData postMetaData = proxy.getMetaData().getMethodMetaData("POST");
92 final MethodMetaData deleteMetaData = proxy.getMetaData().getMethodMetaData("DELETE");
93 final MethodMetaData getMetaData = proxy.getMetaData().getMethodMetaData("GET");
94 final ConfigBean entity = proxy.getEntity();
96 if ((proxy.getCommandDisplayName()!=null) &&(getMetaData!=null)) {//for commands, we want the output of the command before the form
103 String postCommand = getHtmlRespresentationsForCommand(postMetaData, "POST", ( proxy
[all...]
H A DGetResultListXmlProvider.java69 public String getContent(GetResultList proxy) { argument
77 .append(getXmlForMethodMetaData(proxy.getMetaData(), indent + Constants.INDENT))
83 if (proxy.getDomList().size() > 0) {
87 .append(getResourcesLinks(proxy.getDomList(), indent + Constants.INDENT))
92 if (proxy.getCommandResourcesPaths().length > 0) {
96 .append(getXmlCommandLinks(proxy.getCommandResourcesPaths(), indent + Constants.INDENT))
H A DOptionsResultJsonProvider.java75 public String getContent(OptionsResult proxy) { argument
78 obj.put(proxy.getName(), getRespresenationForMethodMetaData(proxy));
85 public JSONArray getRespresenationForMethodMetaData(OptionsResult proxy) { argument
87 Set<String> methods = proxy.methods();
93 MethodMetaData methodMetaData = proxy.getMethodMetaData(methodName);
/glassfish-3.1.2/common/container-common/src/main/java/org/glassfish/javaee/services/
H A DResourcesBinder.java56 * Binds proxy objects in the jndi namespace for all the resources and pools defined in the
78 * deploy proxy for the resource
92 * bind proxy for the resource
98 ResourceProxy proxy = genericResourceProxy.getComponent(ResourceProxy.class);
99 proxy.setResource(resource);
100 proxy.setResourceInfo(resourceInfo);
101 resourceNamingService.publishObject(resourceInfo, proxy, true);
/glassfish-3.1.2/common/glassfish-naming/src/main/java/com/sun/enterprise/naming/impl/
H A DNamedNamingObjectManager.java73 for (NamedNamingObjectProxy proxy : habitat.getAllByContract(NamedNamingObjectProxy.class)) {
74 //System.out.println("Got NamedNamingObjectProxy: " + proxy.getClass().getName());
75 proxies.add(proxy);
88 for (NamedNamingObjectProxy proxy : proxies) {
89 obj = proxy.handle(name);
/glassfish-3.1.2/admin/jmx-remote/server/src/main/java/com/sun/enterprise/admin/jmx/remote/server/callers/
H A DAddNotifLsnrsCaller.java89 NotificationListenerProxy proxy =
93 notifyMgr.addNotificationListener(objname, id, proxy);
96 mbsc.addNotificationListener(objname, proxy, null, null);

Completed in 1054 milliseconds

12345