incubator-isis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From danhayw...@apache.org
Subject svn commit: r1051826 - /incubator/isis/trunk/core/progmodel/src/main/java/org/apache/isis/core/progmodel/facets/object/value/ValueSemanticsProviderContext.java
Date Wed, 22 Dec 2010 10:54:30 GMT
Author: danhaywood
Date: Wed Dec 22 10:54:29 2010
New Revision: 1051826

URL: http://svn.apache.org/viewvc?rev=1051826&view=rev
Log:
Adding ValueSemanticsProviderContext, which was omitted from previous commit (ISIS-62).

NB: the version being committed here will (almost certainly) not compile, because the imports
will be wrong due to further refactorings that I'm working on.  But you can do an svn up to
pull it down and then fix locally, if you want.

Added:
    incubator/isis/trunk/core/progmodel/src/main/java/org/apache/isis/core/progmodel/facets/object/value/ValueSemanticsProviderContext.java

Added: incubator/isis/trunk/core/progmodel/src/main/java/org/apache/isis/core/progmodel/facets/object/value/ValueSemanticsProviderContext.java
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/core/progmodel/src/main/java/org/apache/isis/core/progmodel/facets/object/value/ValueSemanticsProviderContext.java?rev=1051826&view=auto
==============================================================================
--- incubator/isis/trunk/core/progmodel/src/main/java/org/apache/isis/core/progmodel/facets/object/value/ValueSemanticsProviderContext.java
(added)
+++ incubator/isis/trunk/core/progmodel/src/main/java/org/apache/isis/core/progmodel/facets/object/value/ValueSemanticsProviderContext.java
Wed Dec 22 10:54:29 2010
@@ -0,0 +1,53 @@
+/**
+ *  Licensed to the Apache Software Foundation (ASF) under one or more
+ *  contributor license agreements.  See the NOTICE file distributed with
+ *  this work for additional information regarding copyright ownership.
+ *  The ASF licenses this file to You under the Apache License, Version 2.0
+ *  (the "License"); you may not use this file except in compliance with
+ *  the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+package org.apache.isis.core.progmodel.facets.object.value;
+
+import org.apache.isis.core.metamodel.adapter.AdapterMap;
+import org.apache.isis.core.metamodel.authentication.AuthenticationSessionProvider;
+import org.apache.isis.core.metamodel.runtimecontext.DependencyInjector;
+import org.apache.isis.core.metamodel.spec.SpecificationLookup;
+
+public class ValueSemanticsProviderContext {
+    private final AuthenticationSessionProvider authenticationSessionProvider;
+    private final SpecificationLookup specificationLookup;
+    private final AdapterMap adapterManager;
+    private final DependencyInjector dependencyInjector;
+
+    public ValueSemanticsProviderContext(AuthenticationSessionProvider authenticationSessionProvider,
+        SpecificationLookup specificationLookup, AdapterMap adapterManager, DependencyInjector
dependencyInjector) {
+        this.authenticationSessionProvider = authenticationSessionProvider;
+        this.specificationLookup = specificationLookup;
+        this.adapterManager = adapterManager;
+        this.dependencyInjector = dependencyInjector;
+    }
+
+    public AuthenticationSessionProvider getAuthenticationSessionProvider() {
+        return authenticationSessionProvider;
+    }
+
+    public SpecificationLookup getSpecificationLookup() {
+        return specificationLookup;
+    }
+
+    public AdapterMap getAdapterMap() {
+        return adapterManager;
+    }
+
+    public DependencyInjector getDependencyInjector() {
+        return dependencyInjector;
+    }
+}
\ No newline at end of file



Mime
View raw message