Package org.apache.isis.core.metamodel.spec

Examples of org.apache.isis.core.metamodel.spec.SpecificationLookup


     * Is injected into when the reflector is
     * {@link ObjectReflectorAbstract#init() initialized}.
     */
    @Override
    public void setSpecificationLoader(final SpecificationLoader specificationLoader) {
        this.specificationLookupDelegator.setDelegate(new SpecificationLookup() {

            @Override
            public void injectInto(final Object candidate) {
                specificationLoader.injectInto(candidate);
            }
View Full Code Here


     * Creates the appropriate type of {@link ObjectSpecification}.
     */
    private ObjectSpecification createSpecification(final Class<?> cls) {

        final AuthenticationSessionProvider authenticationSessionProvider = getRuntimeContext().getAuthenticationSessionProvider();
        final SpecificationLookup specificationLookup = getRuntimeContext().getSpecificationLookup();
        final ServicesProvider servicesProvider = getRuntimeContext().getServicesProvider();
        final ObjectInstantiator objectInstantiator = getRuntimeContext().getObjectInstantiator();

        final SpecificationContext specContext = new SpecificationContext(authenticationSessionProvider, servicesProvider, objectInstantiator, specificationLookup);

View Full Code Here

    /**
     * Is injected into when the reflector is {@link ObjectReflectorAbstract#init() initialized}.
     */
    @Override
    public void setSpecificationLoader(final SpecificationLoader specificationLoader) {
        this.specificationLookupDelegator.setDelegate(new SpecificationLookup() {

            @Override
            public void injectInto(final Object candidate) {
                specificationLoader.injectInto(candidate);
            }
View Full Code Here

     */
    private ObjectSpecification createSpecification(final Class<?> cls) {

        final AuthenticationSessionProvider authenticationSessionProvider =
            getRuntimeContext().getAuthenticationSessionProvider();
        final SpecificationLookup specificationLookup = getRuntimeContext().getSpecificationLookup();
        final ServicesProvider servicesProvider = getRuntimeContext().getServicesProvider();
        final ObjectInstantiator objectInstantiator = getRuntimeContext().getObjectInstantiator();

        final SpecificationContext specContext =
            new SpecificationContext(authenticationSessionProvider, servicesProvider, objectInstantiator,
View Full Code Here

TOP

Related Classes of org.apache.isis.core.metamodel.spec.SpecificationLookup

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.