Searched defs:child (Results 1 - 25 of 34) sorted by relevance

12

/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 DGenericCrudCommand.java309 ConfigBeanProxy child = (ConfigBeanProxy) component;
311 ConfigBeanProxy cc = child.createChild(itemType);
421 * Returns the element name used by the parent to store instances of the child
425 * @param child type of the child
426 * @return the element name holding child's instances in the parent
429 public static String elementName(DomDocument document, Class<?> parent, Class<?> child) argument
438 if (childTypeName.equals(child.getName())) {
446 if (subChildModel.targetTypeName.equals(child.getName())) {
/glassfish-3.1.2/common/amx-core/src/main/java/org/glassfish/admin/amx/base/
H A DMBeanTrackerMBean.java69 public ObjectName getParentOf(final ObjectName child); argument
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/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/tests/ejb/runtime/
H A DASEjbCMP.java234 public void testQuery(String value, Result result,String parent, String child){ argument
239 new Object[]{parent,child}));
245 new Object[]{parent,child}));
249 new Object[]{parent, child, value}));
/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/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...]
H A DSubCoordinator.java1001 * represents the child transaction.
1005 * @return The Control object for the new child transaction.
1008 * subtransaction and cannot create a new child.
1028 // global TID as this is done by the factory when it creates the child.
1042 SubCoordinator child = null;
1045 child = new SubCoordinator(superInfo.globalTID,
1052 terminator = new TerminatorImpl(child, true);
1057 result = new ControlImpl(terminator, child,
1058 new GlobalTID(child.getGlobalTID()),
1059 new Long(child
1276 addChild(CoordinatorImpl child) argument
1294 removeChild(CoordinatorImpl child) argument
[all...]
H A DTopCoordinator.java1418 * the child transaction.
1422 * @return The Control object for the new child transaction.
1425 * and cannot create a new child.
1446 // by the factory when it creates the child.
1457 SubCoordinator child = null;
1460 child = new SubCoordinator(superInfo.globalTID,
1468 terminator = new TerminatorImpl(child,true);
1473 result = new ControlImpl(terminator, child,
1474 new GlobalTID(child.getGlobalTID()),
1475 child
1707 addChild(CoordinatorImpl child) argument
1735 removeChild(CoordinatorImpl child) argument
[all...]
/glassfish-3.1.2/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/
H A DLoadBalancer.java194 public void decorate(AdminCommandContext context, LoadBalancers parent, LoadBalancer child) throws argument
201 String lbName = child.getName();
203 String lbConfigName = child.getLbConfigName();
H A DLbConfig.java478 public void decorate(AdminCommandContext context, LbConfigs parent, LbConfig child) argument
483 String lbConfigName = child.getName();
H A DNode.java468 public void decorate(AdminCommandContext context, Nodes parent, Node child) throws argument
472 String nodeName = child.getName();
477 "Cannot remove Node {0}. ", child.getName());
487 List<Server> serversOnNode = servers.getServersOnNode(child);
500 "Node {0} referenced in server instance(s): {1}. Remove instances before removing node.", child.getName(), sb.toString());
505 nodeList.remove(child);
H A DCluster.java793 public void decorate(AdminCommandContext context, Clusters parent, Cluster child) throws argument
798 String instanceConfig = child.getConfigRef();
805 List<ServerRef> serverRefs = child.getServerRef();
815 ,child.getName() ,namesOfServers.toString()
825 "GMS_LISTENER_PORT-%s", child.getName());
835 if(config == null || domain.getReferenceContainersOf(config).size() > 1 || !instanceConfig.equals(child.getName() + "-config"))
H A DServer.java820 public void decorate(AdminCommandContext context, Servers parent, final Server child) throws PropertyVetoException, TransactionFailure { argument
825 Cluster cluster = domain.getClusterForInstance(child.getName());
835 String instanceConfig = child.getConfigRef();
846 final String autoGeneratedName = child.getName() + "-config";
880 final String instanceName = child.getName();
/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/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/core/
H A DAMXProxy.java112 The same approach is used in the generic {@link #child}, {@link #childrenSet}, {@link #childrenMap} methods.
168 Get a singleton child of the specified type. An exception is thrown if the child is not
169 a singleton. If children do not exist, or there is no such child, then null is returned.
171 public AMXProxy child(final String type); method in interface:AMXProxy
173 /** Get a singleton child. Its type is deduced from the interface using {@link Util#deduceType}. */
174 public <T extends AMXProxy> T child(final Class<T> intf); method in interface:AMXProxy
H A DUtil.java524 public static ObjectName getAncestorByType(final MBeanServer mbeanServer, final ObjectName child, final String type) { argument
525 ObjectName cur = child;
/glassfish-3.1.2/core/kernel/src/main/java/com/sun/enterprise/v3/services/impl/
H A DDynamicConfigListener.java207 private String findConfigName(final ConfigBeanProxy child) { argument
208 ConfigBeanProxy bean = child;
/glassfish-3.1.2/deployment/autodeploy/src/main/java/org/glassfish/deployment/autodeploy/
H A DAutoDeployedFilesManager.java309 public UndeployRequestedFile(File parent, String child) { argument
310 super(parent, child);
317 public UndeployRequestedFile(String parent, String child) { argument
318 super(parent, child);
/glassfish-3.1.2/tests/quicklook/web/jruby/helloapp/public/javascripts/
H A Ddragdrop.js788 var child = null;
797 child = index + 1 < children.length ? children[index + 1] : null;
800 child = children[index];
806 dropon.insertBefore(element, child);
848 var child = {
858 if (child.container)
859 this._tree(child.container, options, child);
861 parent.children.push (child);
946 // Returns true if child i
[all...]
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/core/
H A DStandardHostDeployer.java820 * Delegate a request to add a child Context to our associated Host.
822 * @param child The child Context to be added
824 public void addChild(Container child) { argument
826 Context context = (Context) child;
842 host.addChild(child);
H A DStandardEngine.java76 * child container must be a Host implementation to process the specific
345 * Add a child Container, only if the proposed child is an implementation
348 * @param child Child container to be added
350 public void addChild(Container child) { argument
352 if (!(child instanceof Host))
355 super.addChild(child);
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/
H A DContainer.java127 * The ContainerEvent event type sent when a child container is added
148 * The ContainerEvent event type sent when a child container is removed
271 * Container. Within the set of child containers belonging to a particular
279 * Container. Within the set of child containers belonging to a particular
292 * Return the Container for which this Container is a child, if there is
300 * child. This Container may refuse to become attached to the specified
304 * as a child
373 * Add a new child Container to those associated with this Container,
375 * the child's <code>setParent()</code> method must be called, with this
380 * @param child Ne
389 addChild(Container child) argument
463 removeChild(Container child) argument
[all...]
/glassfish-3.1.2/tests/community/web/jruby/helloapp/public/javascripts/
H A Ddragdrop.js757 var child = null;
766 child = index + 1 < children.length ? children[index + 1] : null;
769 child = children[index];
775 dropon.insertBefore(element, child);
817 var child = {
827 if (child.container)
828 this._tree(child.container, options, child)
830 parent.children.push (child);
915 // Returns true if child i
[all...]

Completed in 398 milliseconds

12