Package org.springframework.roo.project

Examples of org.springframework.roo.project.ProjectMetadata


            metadataDependencyRegistry.registerDependency(
                    managedBean.getDeclaredByMetadataId(),
                    metadataIdentificationString);
        }

        final ProjectMetadata projectMetadata = projectOperations
                .getFocusedProjectMetadata();
        Validate.notNull(projectMetadata, "Project metadata required");

        return new JsfApplicationBeanMetadata(metadataIdentificationString,
                aspectName, governorPhysicalTypeMetadata, managedBeans,
                projectMetadata.getPom().getDisplayName());
    }
View Full Code Here


    /**
     * Handles a generic change (i.e. with no explicit downstream dependency) to
     * the project metadata
     */
    private void handleGenericChangeToProject(final String moduleName) {
        final ProjectMetadata projectMetadata = projectOperations
                .getProjectMetadata(moduleName);
        if (projectMetadata != null && projectMetadata.isValid()) {
            final boolean isGaeEnabled = projectOperations
                    .isFeatureInstalledInModule(FeatureNames.GAE, moduleName);
            // We need to determine if the persistence state has changed, we do
            // this by comparing the last known state to the current state
            final boolean hasGaeStateChanged = wasGaeEnabled == null
View Full Code Here

                PhysicalTypeIdentifier.getMetadataIdentiferType(),
                getProvidesType());
    }

    public MetadataItem get(final String requestMetadataId) {
        final ProjectMetadata projectMetadata = projectOperations
                .getProjectMetadata(PhysicalTypeIdentifierNamingUtils
                        .getModule(requestMetadataId));
        if (projectMetadata == null) {
            return null;
        }
View Full Code Here

TOP

Related Classes of org.springframework.roo.project.ProjectMetadata

Copyright © 2018 www.massapicom. 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.