[jbossws-commits] JBossWS SVN: r15064 - spi/trunk/src/main/java/org/jboss/wsf/spi/deployment.
jbossws-commits at lists.jboss.org
jbossws-commits at lists.jboss.org
Mon Oct 10 09:10:47 EDT 2011
Author: richard.opalka at jboss.com
Date: 2011-10-10 09:10:46 -0400 (Mon, 10 Oct 2011)
New Revision: 15064
Added:
spi/trunk/src/main/java/org/jboss/wsf/spi/deployment/Reference.java
Modified:
spi/trunk/src/main/java/org/jboss/wsf/spi/deployment/InstanceProvider.java
Log:
adding Reference abstraction
Modified: spi/trunk/src/main/java/org/jboss/wsf/spi/deployment/InstanceProvider.java
===================================================================
--- spi/trunk/src/main/java/org/jboss/wsf/spi/deployment/InstanceProvider.java 2011-10-09 00:17:02 UTC (rev 15063)
+++ spi/trunk/src/main/java/org/jboss/wsf/spi/deployment/InstanceProvider.java 2011-10-10 13:10:46 UTC (rev 15064)
@@ -30,6 +30,6 @@
public interface InstanceProvider
{
- Object getInstance(String className);
+ Reference getInstance(String className);
}
Added: spi/trunk/src/main/java/org/jboss/wsf/spi/deployment/Reference.java
===================================================================
--- spi/trunk/src/main/java/org/jboss/wsf/spi/deployment/Reference.java (rev 0)
+++ spi/trunk/src/main/java/org/jboss/wsf/spi/deployment/Reference.java 2011-10-10 13:10:46 UTC (rev 15064)
@@ -0,0 +1,34 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2011, Red Hat, Inc., and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
+package org.jboss.wsf.spi.deployment;
+
+/**
+ * @author <a href="mailto:ropalka at redhat.com">Richard Opalka</a>
+ */
+public interface Reference {
+
+ Object getValue();
+
+ boolean isInitialized();
+
+}
More information about the jbossws-commits
mailing list