Examples of refreshMetadata()


Examples of com.cloudloop.storage.CloudStoreFile.refreshMetadata()

  fileToUpload.setCustomMetaTag( "foo", "bar" );
  fileToUpload.write( null );
 
  CloudStoreFile uploaded = store.getFile( fileToUpload.getPath( )
    .getAbsolutePath( ) );
  uploaded.refreshMetadata( );
  String tag = uploaded.getMetadata( ).getCustomTags( ).get( "foo" );
  if ( tag == null ) // Rackspace capitalizes the first letter of keys for
      // some reason...
      // TODO: Log defect!!
      tag = uploaded.getMetadata( ).getCustomTags( ).get( "Foo" );
View Full Code Here

Examples of org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.refreshMetadata()

                    dcl = new DynamicClassLoader(sessionLoader);
                    properties.put(PersistenceUnitProperties.CLASSLOADER, dcl);
                    if (initializationProperties != null){
                        properties.putAll(initializationProperties);
                    }
                    factory.refreshMetadata(properties);
                }

                if (factory != null){
                    app = bootstrapPersistenceContext(persistenceUnit, factory, defaultURI, version, true);
                    if (app != null){
View Full Code Here

Examples of org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.refreshMetadata()

                    dcl = new DynamicClassLoader(sessionLoader);
                    properties.put(PersistenceUnitProperties.CLASSLOADER, dcl);
                    if (initializationProperties != null){
                        properties.putAll(initializationProperties);
                    }
                    factory.refreshMetadata(properties);
                }
   
                if (factory != null){
                    app = bootstrapPersistenceContext(persistenceUnit, factory, defaultURI, version, true);
                    if (app != null){
View Full Code Here

Examples of org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.refreshMetadata()

                    dcl = new DynamicClassLoader(sessionLoader);
                    properties.put(PersistenceUnitProperties.CLASSLOADER, dcl);
                    if (initializationProperties != null){
                        properties.putAll(initializationProperties);
                    }
                    factory.refreshMetadata(properties);
                }
   
                if (factory != null){
                    app = bootstrapPersistenceContext(persistenceUnit, factory, defaultURI, true);
                }
View Full Code Here

Examples of org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.refreshMetadata()

                    dcl = new DynamicClassLoader(sessionLoader);
                    properties.put(PersistenceUnitProperties.CLASSLOADER, dcl);
                    if (initializationProperties != null) {
                        properties.putAll(initializationProperties);
                    }
                    factory.refreshMetadata(properties);
                }

                if (factory != null) {
                    persistenceContext = bootstrapPersistenceContext(persistenceUnitName, factory, defaultURI, version, true);
                    Set<PersistenceContext> persistenceContextSet = getDynamicPersistenceContextSet(persistenceUnitName);
View Full Code Here

Examples of org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.refreshMetadata()

                    dcl = new DynamicClassLoader(sessionLoader);
                    properties.put(PersistenceUnitProperties.CLASSLOADER, dcl);
                    if (initializationProperties != null) {
                        properties.putAll(initializationProperties);
                    }
                    factory.refreshMetadata(properties);
                }

                if (factory != null) {
                    persistenceContext = bootstrapPersistenceContext(persistenceUnitName, factory, defaultURI, version, true);
                    Set<PersistenceContext> persistenceContextSet = getDynamicPersistenceContextSet(persistenceUnitName);
View Full Code Here

Examples of org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.refreshMetadata()

                    dcl = new DynamicClassLoader(sessionLoader);
                    properties.put(PersistenceUnitProperties.CLASSLOADER, dcl);
                    if (initializationProperties != null){
                        properties.putAll(initializationProperties);
                    }
                    factory.refreshMetadata(properties);
                }
   
                if (factory != null){
                    app = bootstrapPersistenceContext(persistenceUnit, factory, defaultURI, version, true);
                }
View Full Code Here

Examples of org.springframework.security.saml.metadata.MetadataManager.refreshMetadata()

    @Test(expected = MetadataProviderException.class)
    public void testMissingSP() throws Exception {
        MetadataManager manager = context.getBean("metadata", MetadataManager.class);
        while (manager.getProviders().size() > 0) {
            manager.removeMetadataProvider(manager.getProviders().iterator().next());
            manager.refreshMetadata();
        }
        expect(request.isSecure()).andReturn(false);
        expect(request.getAttribute(org.springframework.security.saml.SAMLConstants.LOCAL_ENTITY_ID)).andReturn(null);
        replyMock();
        samlContext = contextProvider.getLocalAndPeerEntity(request, response);
View Full Code Here

Examples of org.springframework.security.saml.metadata.MetadataManager.refreshMetadata()

    @Test(expected = MetadataProviderException.class)
    public void testMissingSP() throws Exception {
        MetadataManager manager = context.getBean("metadata", MetadataManager.class);
        while (manager.getProviders().size() > 0) {
            manager.removeMetadataProvider(manager.getProviders().iterator().next());
            manager.refreshMetadata();
        }
        expect(request.isSecure()).andReturn(false);
        expect(request.getAttribute(org.springframework.security.saml.SAMLConstants.LOCAL_ENTITY_ID)).andReturn(null);
        replyMock();
        samlContext = contextProvider.getLocalAndPeerEntity(request, response);
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.