Searched refs:child (Results 1 - 25 of 111) sorted by relevance

12345

/glassfish-3.1.2/transaction/jts/src/main/java/com/sun/jts/CosTransactions/
H A DNestingInfo.java146 * Adds the given SubCoordinator as a child.
150 * @param child The child Coordinator.
156 boolean addChild(CoordinatorImpl child) { argument
158 boolean result = !childSet.contains(child);
159 if( result ) childSet.addElement(child);
165 * Removes the given SubCoordinator as a child.
169 * @param child The child Coordinator.
175 boolean removeChild(CoordinatorImpl child) { argument
205 removeFromParent(CoordinatorImpl child) argument
[all...]
/glassfish-3.1.2/common/amx-config/src/main/java/org/glassfish/admin/amx/intf/config/
H A DAMXConfigGetters.java69 mDomainConfig = mDomainRoot.child(Domain.class);
101 for (final AMXProxy child : resources().childrenSet()) {
102 if (child.getName().equals(name)) {
103 return child.as(clazz);
114 return child(domainConfig().getServers(), Server.class, name);
134 * Get a named child of the specified interface.
136 public <T extends AMXProxy> T child(final AMXProxy parent, final Class<T> intf, final String name) { method in class:AMXConfigGetters
141 return child(domainConfig().getConfigs(), Config.class, name);
/glassfish-3.1.2/common/amx-core/src/main/java/org/glassfish/admin/amx/base/
H A DMBeanTracker.java61 Tracks the entire MBean parent/child hierarachy so that individual MBeans need not do so.
76 /** maps a child to its parent, needed because when unregistered we can't obtain parent */
181 private boolean isRelevantMBean(final ObjectName child) argument
183 return child != null && mDomain.equals( child.getDomain() );
186 private void addChild(final ObjectName child) argument
190 parent = (ObjectName)mServer.getAttribute(child, AMX.ATTR_PARENT);
195 //System.out.println( "No Parent for: " + child );
202 mChildParent.put(child, parent);
209 children.add(child);
218 removeChild(final ObjectName child) argument
237 getParentOf(final ObjectName child) argument
[all...]
/glassfish-3.1.2/webservices/jsr109-impl/src/main/java/org/glassfish/webservices/cli/
H A DListWebServicesCommand.java125 ActionReport.MessagePart child = top.addChild();
126 child.setMessage("application:"+app.getKey());
128 child = child.addChild();
129 child.setMessage(" module:"+module.getKey());
131 child = child.addChild();
132 child.setMessage(" endpoint:"+endpoint.getKey());
134 child = child
[all...]
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/tomcat/util/digester/
H A DSetNextRule.java68 * object, passing the top object (child) as an argument. It is
69 * commonly used to establish parent-child relationships.</p>
86 * child object.
124 * child object.
219 Object child = digester.peek(0);
225 methodName + "(" + child + ")");
229 methodName + "(" + child + ")");
235 child, paramType, digester.getClassLoader());
H A DSetRootRule.java68 * passing the top object (child) as an argument.
86 * child object.
124 * child object.
220 Object child = digester.peek(0);
226 methodName + "(" + child + ")");
230 methodName + "(" + child + ")");
236 child, paramType, digester.getClassLoader());
H A DSetTopRule.java68 * <p>Rule implementation that calls a "set parent" method on the top (child)
157 * The method name to call on the child object.
219 Object child = digester.peek(0);
223 if (child == null) {
229 "} Call " + child.getClass().getName() + "." +
235 IntrospectionUtils.callMethod1(child, methodName,
/glassfish-3.1.2/common/amx-j2ee-impl/src/main/java/org/glassfish/admin/amx/impl/j2ee/
H A DJ2EEServerImpl.java75 final ObjectName child = child(JVM);
77 return child == null ? new String[0] : new String[]
79 child.toString()
/glassfish-3.1.2/admin/rest/src/main/java/org/glassfish/admin/rest/utils/xml/
H A DXmlObject.java94 public XmlObject put(String key, Object child) { argument
95 if (child instanceof String) {
96 children.put(key, child);
97 } else if (child instanceof Number) {
98 children.put(key, new XmlObject("Number", (Number)child));
99 } else if (child instanceof XmlObject) {
100 children.put(key, (XmlObject)child);
120 for (Map.Entry<String, Object> child : children.entrySet()) {
121 String key = child.getKey();
122 Object value = child
[all...]
/glassfish-3.1.2/core/bootstrap/src/main/java/com/sun/enterprise/glassfish/bootstrap/
H A DClassPathBuilder.java106 for (File child : children) {
107 addJar(child);
112 * Looks for the child files/directories in the given folder that matches the specified GLOB patterns
127 for (File child : children) {
128 if(p.matcher(child.getName()).matches())
129 addJar(child);
/glassfish-3.1.2/webservices/connector/src/main/java/org/glassfish/webservices/connector/annotation/handlers/
H A DHandlerChainHandler.java392 Node child = handlerChain.getFirstChild();
393 while(child != null) {
394 if(WebServicesTagNames.SERVICE_NAME_PATTERN.equals(child.getLocalName())) {
395 hc.setServiceNamePattern(getAsQName(child));
397 if(WebServicesTagNames.PORT_NAME_PATTERN.equals(child.getLocalName())) {
398 hc.setPortNamePattern(getAsQName(child));
400 if(WebServicesTagNames.PROTOCOL_BINDINGS.equals(child.getLocalName())) {
401 hc.setProtocolBindings(child.getTextContent());
403 if(WebServicesTagNames.HANDLER.equals(child.getLocalName())) {
404 processHandlers(child, h
[all...]
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/startup/
H A DCopyParentClassLoaderRule.java112 Container child = (Container) digester.peek(0);
118 child.setParentClassLoader(classLoader);
H A DSetDocBaseRule.java111 Context child = (Context) digester.peek(0);
143 String docBase = child.getDocBase();
146 String path = child.getPath();
170 String contextPath = child.getPath();
183 docBase = ExpandWar.expand(host, war, child.getPath());
196 child.setDocBase(docBase);
/glassfish-3.1.2/admin/config-api/src/main/java/org/glassfish/config/support/
H A DDeletionDecorator.java73 * @param child the deleted instance
75 public void decorate(AdminCommandContext context, T parent, U child) throws TransactionFailure, PropertyVetoException; argument
80 public void decorate(AdminCommandContext context, ConfigBeanProxy parent, ConfigBeanProxy child) throws TransactionFailure, PropertyVetoException { argument
H A DTypeResolver.java79 ConfigBeanProxy child = writeableDomain.createChild(type);
93 domDomain.setNodeElements(elementName, Dom.unwrap(child));
96 habitat.addIndex(new ExistingSingletonInhabitant<ConfigBeanProxy>(child), type.getName(), null);
98 return child;
/glassfish-3.1.2/deployment/client/src/main/java/org/glassfish/deployapi/
H A DTargetModuleIDImpl.java149 * @return the child TargetModuleID objects
156 * Add a child TargetModuleID to this TargetModuleID
158 public void addChildTargetModuleID(TargetModuleIDImpl child) { argument
164 newChildren[children.length] = child;
168 child.setParentTargetModuleID(this);
/glassfish-3.1.2/admin/config-api/src/test/java/com/sun/enterprise/configapi/tests/
H A DDeepCopyTest.java157 Dom child = dom.element(elementName);
158 if (child==null) continue;
160 logger.fine("Parent of " + child.model.targetTypeName + ":" + child.getKey() + " is " + child.parent().getKey() + " while I am " + dom.getKey());
162 logger.info("Parent of " + child.model.targetTypeName + ":" + child.getKey() + " is " +
163 child.parent().model.targetTypeName + ":" + child.parent().getKey() + " while I am " +
166 Assert.assertEquals(dom, child
[all...]
/glassfish-3.1.2/common/amx-ext-impl/src/main/java/org/glassfish/admin/amx/impl/ext/
H A DAMXExtStartupService.java140 ObjectName child;
144 child = names.buildChildObjectName(SystemStatus.class);
146 registerChild(mbean, child);
148 child = names.buildChildObjectName(Realms.class);
150 registerChild(mbean, child);
152 child = names.buildChildObjectName(ConnectorRuntimeAPIProvider.class);
154 registerChild(mbean, child);
/glassfish-3.1.2/admingui/common/src/main/java/org/glassfish/admingui/common/util/
H A DRestResponse.java208 // Node child;
210 // child = nl.item(idx);
211 // if ((child.getNodeType() == Node.ELEMENT_NODE) && (child.getNodeName().equals("message-part"))) {
212 // messages.add(processMessagePart(child));
236 * any child Elements and add the children as a
252 // Now add any child Elements
254 Node child;
259 child = nl.item(idx);
260 if ((child
[all...]
/glassfish-3.1.2/common/amx-core-impl/src/main/java/org/glassfish/admin/amx/impl/mbean/
H A DParentChildren.java91 for (final ParentChildren child : mChildren) {
92 final List<String> moreLines = indentAll(child.toLines(details));
102 for (final ParentChildren child : mChildren) {
103 items.addAll(child.asList());
119 for (final AMXProxy child : children) {
120 final ParentChildren pc = hierarchy(child);
H A DPathnamesImpl.java111 // find the matching child
112 for (final ObjectName child : s) {
113 if (type.equals(Util.getTypeProp(child))) {
114 final String nameProp = Util.getNameProp(child);
116 //cdebug( "type match for " + path + ", objectName = " + child);
121 objectName = child;
125 //cdebug( "A name is specified in path, but the type has none: path = " + path + ", objectName = " + child);
132 objectName = child;
137 final MBeanInfo mbeanInfo = getProxyFactory().getMBeanInfo(child);
145 objectName = child;
[all...]
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/node/runtime/
H A DRuntimeBundleNode.java69 * Initializes the child handler;
142 Element child = getOwnerDocument(parent).createElementNS(nameSpace, elementName);
143 parent.appendChild(child);
144 return child;
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/tomcat/util/modeler/util/
H A DDomUtil.java108 /** Get the first element child.
167 /** Find the first direct child with a given attribute.
176 Node child=DomUtil.getChild(parent, Node.ELEMENT_NODE);
178 while( child!= null &&
179 ( elemName==null || elemName.equals( child.getNodeName())) &&
180 DomUtil.getAttribute(child, attName) != null ) {
181 child=getNext(child, elemName, Node.ELEMENT_NODE );
184 while( child!= null &&
185 ( elemName==null || elemName.equals( child
[all...]
/glassfish-3.1.2/common/internal-api/src/main/java/org/glassfish/internal/embedded/
H A DEmbeddedFileSystem.java209 for (File child : f.listFiles()) {
210 if (child.isDirectory()) {
211 deleteAll(child);
213 child.delete();
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/node/
H A DExtensionElementNode.java202 * Append a new element child to the current node
204 * @param parentNode is the parent node for the new child element
206 * @return the newly created child node
215 Element child = getOwnerDocument(parent).createElementNS(namespace, elementName);
216 child.setPrefix(prefix);
217 parent.appendChild(child);
218 return child;
249 * Append a new text child
251 * @param parent for the new child element
254 * @result the newly create child nod
[all...]

Completed in 162 milliseconds

12345