Examples of ObjectInfo


Examples of org.apache.cxf.tests.inherit.types.ObjectInfo

    @Test
    public void testInheritedTypesInOtherPackage() throws Exception {
        InheritService serv = new InheritService();
        Inherit port = serv.getInheritPort();
        updateAddressPort(port, PORT);
        ObjectInfo obj = port.getObject(0);
        assertNotNull(obj);
        assertNotNull(obj.getBaseObject());
        assertEquals("A", obj.getBaseObject().getName());
        assertTrue(obj.getBaseObject() instanceof SubTypeA);
       
        obj = port.getObject(1);
        assertNotNull(obj);
        assertNotNull(obj.getBaseObject());
        assertEquals("B", obj.getBaseObject().getName());
        assertTrue(obj.getBaseObject() instanceof SubTypeB);
       
    }
View Full Code Here

Examples of org.apache.cxf.tests.inherit.types.ObjectInfo

     
    @Test
    public void testInheritedTypesInOtherPackage() throws Exception {
        InheritService serv = new InheritService();
        Inherit port = serv.getInheritPort();
        ObjectInfo obj = port.getObject(0);
        assertNotNull(obj);
        assertNotNull(obj.getBaseObject());
        assertEquals("A", obj.getBaseObject().getName());
        assertTrue(obj.getBaseObject() instanceof SubTypeA);
       
        obj = port.getObject(1);
        assertNotNull(obj);
        assertNotNull(obj.getBaseObject());
        assertEquals("B", obj.getBaseObject().getName());
        assertTrue(obj.getBaseObject() instanceof SubTypeB);
       
    }
View Full Code Here

Examples of org.eclipse.jgit.storage.dht.ObjectInfo

      CachedObjectIndex cacheEntry = CachedObjectIndex.parseFrom(value);
      int sz = cacheEntry.getItemCount();
      ObjectInfo[] r = new ObjectInfo[sz];
      for (int i = 0; i < sz; i++) {
        CachedObjectIndex.Item item = cacheEntry.getItem(i);
        r[i] = new ObjectInfo(
            ChunkKey.fromString(item.getChunkKey()),
            item.getTime(),
            item.getObjectInfo());
      }
      return Arrays.asList(r);
View Full Code Here

Examples of org.eclipse.wb.core.model.ObjectInfo

  //
  // Access
  //
  ////////////////////////////////////////////////////////////////////////////
  public int getActiveIndex() {
    ObjectInfo activeWidget = m_stackContainer.getActive();
    return activeWidget != null ? getContainer().getChildrenWidgets().indexOf(activeWidget) : 0;
  }
View Full Code Here

Examples of org.eclipse.wb.core.model.ObjectInfo

  /**
   * <code>TextItem</code> and <code>Separator</code> have no element initially, so we need this
   * workaround.
   */
  private void fetchElement() throws Exception {
    ObjectInfo parent = getParent();
    if (parent instanceof MenuInfo
        && ReflectionUtils.getFieldObject(getObject(), "element") == null) {
      MenuInfo parentMenu = (MenuInfo) parent;
      int index = parentMenu.getChildrenJava().indexOf(this);
      Object[] items =
View Full Code Here

Examples of org.eclipse.wb.core.model.ObjectInfo

  //
  ////////////////////////////////////////////////////////////////////////////
  @Override
  protected void refresh_fetch() throws Exception {
    super.refresh_fetch();
    ObjectInfo parent = getParent();
    if (parent instanceof CycleButtonInfo) {
      Rectangle parentBounds = ((CycleButtonInfo) parent).getModelBounds();
      setModelBounds(new Rectangle(0, parentBounds.height, parentBounds.width, 0));
    }
  }
View Full Code Here

Examples of org.fcrepo.client.utility.validate.types.ObjectInfo

    public ValidationResult validate(String pid) {
        if (pid == null) {
            throw new NullPointerException("pid may not be null.");
        }

        ObjectInfo object = null;

        try {
            object = objectSource.getValidationObject(pid);
        } catch (ObjectSourceException e) {
            // This falls into the case of object==null.
View Full Code Here

Examples of org.jbpm.configuration.ObjectInfo

    // make the bean jbpm.configuration always available
    if (objectFactory instanceof ObjectFactoryImpl)
    {
      ObjectFactoryImpl objectFactoryImpl = (ObjectFactoryImpl)objectFactory;
      ObjectInfo jbpmConfigurationInfo = new ValueInfo("jbpmConfiguration", jbpmConfiguration);
      objectFactoryImpl.addObjectInfo(jbpmConfigurationInfo);

      if (getHideStaleObjectExceptions(objectFactory))
      {
        StaleObjectLogConfigurer.hideStaleObjectExceptions();
View Full Code Here

Examples of org.jclouds.openstack.swift.domain.ObjectInfo

                                           ImmutableList.<Object>of("container-name", new ListContainerOptions[0])))
             .caller(null);

      parser.setContext(builder.build());

      ObjectInfo objectInfo = parser.apply(stream).iterator().next();
      assertEquals(objectInfo.getName(), contentName);
   }
View Full Code Here

Examples of org.jmanage.core.management.ObjectInfo

        ObjectName objectName = null;
        Map<String, List> mbeanAttributesListMap = new TreeMap<String, List>();
        MBeanService mbeanService = ServiceFactory.getMBeanService();
        for(int i=0; i<mbeans.length;i++){
            objectName = new ObjectName(mbeans[i]);
            ObjectInfo objInfo = serverConn.getObjectInfo(objectName);
            ObjectAttributeInfo[] objAttrInfo = objInfo.getAttributes();
            List objAttrInfoList = mbeanService.filterAttributes(
                    Utils.getServiceContext(context),
                    objectName,
                    objAttrInfo,
                    form.getDataTypes());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.