Examples of Container


Examples of org.apache.tomee.embedded.Container

        return EmbeddedTomEEConfiguration.class;
    }

    public void setup(EmbeddedTomEEConfiguration configuration) {
        super.setup(configuration);
        container = new Container();
        container.setup(convertConfiguration(configuration));
    }
View Full Code Here

Examples of org.apache.xmlbeans.impl.store.Splay.Container

                                    s.getCpForPos( r, s.getPosAfter() ), cchAfter );
   
                                trim( _text );
                            }
   
                            Container stop = (Container) _top;
   
                            if (!stop.isDoc())
                                stop = stop.getContainer();
   
                            Container c = s.getContainer( s.getPosAfter() );
   
                            if (_text.length() > 0)
                            {
                                Container p = c;
   
                                for ( ; p != stop ; p = p.getContainer() )
                                    spaces( _text, 0, _prettyIndent );
   
                                if (_prettyIndent >= 0)
                                {
                                    _text.insert( 0, _newLine );
                                    spaces( _text, 1, _prettyOffset );
                                }
                            }
   
                            if (_prettyIndent >= 0)
                            {
                                _text.append( _newLine );
                                spaces( _text, _text.length(), _prettyOffset );
                            }
   
                            Container p = c;
   
                            if (s.nextNonAttrSplay().isEnd())
                                p = p.getContainer();
   
                            for ( ; p != null && p != stop; p = p.getContainer() )
                                spaces( _text, _text.length(), _prettyIndent );
                        }
   
                        if (_text == null ? cchAfter > 0 : _text.length() > 0)
                        {
View Full Code Here

Examples of org.castor.cache.hashbelt.container.Container

     * Remove the oldest container from the cache and pass it to the configured reaper
     * to do its expiration work. Then clear the container and put it back into the
     * pool for further use.
     */
    private void expireCacheContainer() {
        Container expired = _cache[--_containerCount];
       
        Container[] temp = new Container[_containerCount];
        System.arraycopy(_cache, 0, temp, 0, _containerCount);
        _cache = temp;
        _cacheSize -= expired.size();
       
        _reaper.handleExpiredContainer(expired);
       
        expired.clear();
       
        _pool[_poolCount++] = expired;
    }
View Full Code Here

Examples of org.codehaus.cargo.container.Container

        Assert.assertEquals(adapter.getPassword(), password);

        ConfigurationFactory configFactory = new DefaultConfigurationFactory();
        ContainerFactory containerFactory = new DefaultContainerFactory();

        Container container = adapter.getContainer(configFactory, containerFactory, adapter.getContainerId());
        Assert.assertNotNull(container);
    }
View Full Code Here

Examples of org.csu.idl.idlmm.Container

    Collection<EObject> scopeList = getFilteredContents(context, type);

    // create the scopedElements from the EObjets in the scopeList
    LinkedList<IEObjectDescription> scopedElements = new LinkedList<IEObjectDescription>();

    Container base = (context instanceof Container ? (Container) context : null);

    final IDLAttributeResolver resolver = IDLAttributeResolver.newResolver(base);
    for (IEObjectDescription elm : Scopes.scopeFor(scopeList, resolver, IScope.NULLSCOPE).getContents()) {
      scopedElements.add(elm);
    }
View Full Code Here

Examples of org.directwebremoting.Container

        };

        // add the scaDomainScriptHandler to the urlProcessor
        // bit of a hack, there's probably cleaner way to get it registered
        urlProcessor.afterContainerSetup(new Container() {
            public Object getBean(String name) {
                return scaDomainScriptHandler;
            }
            public Collection getBeanNames() {
                return Arrays.asList(new String[] {PathConstants.URL_PREFIX + SCADOMAIN_SCRIPT_PATH});
View Full Code Here

Examples of org.eclipse.core.internal.resources.Container

        try {

            // Load all .dsl files from current dir
            IPath p = (packageEditorInput).getFile().getFullPath().removeLastSegments( 1 );

            Container folder = (Container) ResourcesPlugin.getWorkspace().getRoot().findMember( p,                                                                                                false );

            IResource[] files = folder.members( false );

            List dslList = new ArrayList();
            List enumList = new ArrayList();

            for ( int i = 0; i < files.length; i++ ) {
View Full Code Here

Examples of org.exoplatform.container.spi.Container

    */
   protected CachingContainer getCache()
   {
      if (cache != null)
         return cache;
      Container co = holder;
      do
      {
         if (co instanceof CachingContainer)
         {
            cache = (CachingContainer)co;
         }
      }
      while ((co = co.getSuccessor()) != null);
      return cache;
   }
View Full Code Here

Examples of org.exoplatform.portal.config.model.Container

            mgr.clearCache();

            PortalConfig cfg = storage_.getPortalConfig(PortalConfig.USER_TYPE, "overwritelayout");
            assertNotNull(cfg);

            Container container = cfg.getPortalLayout();
            assertNotNull(container);
            assertEquals(2, container.getChildren().size());
            assertTrue(container.getChildren().get(0) instanceof PageBody);
            assertTrue(((Application)container.getChildren().get(1)).getType() == ApplicationType.PORTLET);
            Application<Portlet> pa = (Application<Portlet>)container.getChildren().get(1);
            ApplicationState<Portlet> state = pa.getState();
            assertEquals("overwrite_application_ref/overwrite_portlet_ref", storage_.getId(state));
         }
      }.execute(null);
   }
View Full Code Here

Examples of org.fcrepo.utilities.install.container.Container

        }
        new FedoraHome(_dist, _opts).install();

        if (!_opts.getValue(InstallOptions.INSTALL_TYPE)
                .equals(InstallOptions.INSTALL_CLIENT)) {
            Container container = ContainerFactory.getContainer(_dist, _opts);
            container.install();
            container.deploy(buildWAR());
            if (_opts.getBooleanValue(InstallOptions.DEPLOY_LOCAL_SERVICES,
                                      true)) {
                deployLocalService(container, Distribution.FOP_WAR);
                deployLocalService(container, Distribution.IMAGEMANIP_WAR);
                deployLocalService(container, Distribution.SAXON_WAR);
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.