You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by me...@apache.org on 2007/03/12 18:59:01 UTC
svn commit: r517310 - in
/incubator/tuscany/java/sca/kernel/core/src/main/java/org/apache/tuscany/core/model/physical/instancefactory:
./ ByteCodeInstanceFactoryProviderDefinition.java
ReflectiveInstanceFactoryProviderDefinition.java
Author: meerajk
Date: Mon Mar 12 10:59:00 2007
New Revision: 517310
URL: http://svn.apache.org/viewvc?view=rev&rev=517310
Log:
Started on the sub-classes for IFPD.
Added:
incubator/tuscany/java/sca/kernel/core/src/main/java/org/apache/tuscany/core/model/physical/instancefactory/
incubator/tuscany/java/sca/kernel/core/src/main/java/org/apache/tuscany/core/model/physical/instancefactory/ByteCodeInstanceFactoryProviderDefinition.java (with props)
incubator/tuscany/java/sca/kernel/core/src/main/java/org/apache/tuscany/core/model/physical/instancefactory/ReflectiveInstanceFactoryProviderDefinition.java (with props)
Added: incubator/tuscany/java/sca/kernel/core/src/main/java/org/apache/tuscany/core/model/physical/instancefactory/ByteCodeInstanceFactoryProviderDefinition.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/kernel/core/src/main/java/org/apache/tuscany/core/model/physical/instancefactory/ByteCodeInstanceFactoryProviderDefinition.java?view=auto&rev=517310
==============================================================================
--- incubator/tuscany/java/sca/kernel/core/src/main/java/org/apache/tuscany/core/model/physical/instancefactory/ByteCodeInstanceFactoryProviderDefinition.java (added)
+++ incubator/tuscany/java/sca/kernel/core/src/main/java/org/apache/tuscany/core/model/physical/instancefactory/ByteCodeInstanceFactoryProviderDefinition.java Mon Mar 12 10:59:00 2007
@@ -0,0 +1,49 @@
+/*
+ * 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.tuscany.core.model.physical.instancefactory;
+
+import org.apache.tuscany.spi.model.physical.InstanceFactoryProviderDefinition;
+
+/**
+ * Byte code based instance factory provider.
+ *
+ * @version $Revision$ $Date$
+ */
+public class ByteCodeInstanceFactoryProviderDefinition extends InstanceFactoryProviderDefinition {
+
+ // Byte code
+ byte[] byteCode;
+
+ /**
+ * Gets the instance factory byte code.
+ * @return Byte code for the instance factory.
+ */
+ public byte[] getByteCode() {
+ return byteCode;
+ }
+
+ /**
+ * Sets the instance factory byte code.
+ * @param byteCode Instance factory byte code.
+ */
+ public void setByteCode(byte[] byteCode) {
+ this.byteCode = byteCode;
+ }
+}
Propchange: incubator/tuscany/java/sca/kernel/core/src/main/java/org/apache/tuscany/core/model/physical/instancefactory/ByteCodeInstanceFactoryProviderDefinition.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/tuscany/java/sca/kernel/core/src/main/java/org/apache/tuscany/core/model/physical/instancefactory/ByteCodeInstanceFactoryProviderDefinition.java
------------------------------------------------------------------------------
svn:keywords = Rev Date
Added: incubator/tuscany/java/sca/kernel/core/src/main/java/org/apache/tuscany/core/model/physical/instancefactory/ReflectiveInstanceFactoryProviderDefinition.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/kernel/core/src/main/java/org/apache/tuscany/core/model/physical/instancefactory/ReflectiveInstanceFactoryProviderDefinition.java?view=auto&rev=517310
==============================================================================
--- incubator/tuscany/java/sca/kernel/core/src/main/java/org/apache/tuscany/core/model/physical/instancefactory/ReflectiveInstanceFactoryProviderDefinition.java (added)
+++ incubator/tuscany/java/sca/kernel/core/src/main/java/org/apache/tuscany/core/model/physical/instancefactory/ReflectiveInstanceFactoryProviderDefinition.java Mon Mar 12 10:59:00 2007
@@ -0,0 +1,31 @@
+/*
+ * 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.tuscany.core.model.physical.instancefactory;
+
+import org.apache.tuscany.spi.model.physical.InstanceFactoryProviderDefinition;
+
+/**
+ * Reflection based instance factory.
+ *
+ * @version $Revision$ $Date$
+ */
+public class ReflectiveInstanceFactoryProviderDefinition extends InstanceFactoryProviderDefinition {
+
+}
Propchange: incubator/tuscany/java/sca/kernel/core/src/main/java/org/apache/tuscany/core/model/physical/instancefactory/ReflectiveInstanceFactoryProviderDefinition.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/tuscany/java/sca/kernel/core/src/main/java/org/apache/tuscany/core/model/physical/instancefactory/ReflectiveInstanceFactoryProviderDefinition.java
------------------------------------------------------------------------------
svn:keywords = Rev Date
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org