Author: thomas.diesler(a)jboss.com
Date: 2007-10-25 08:13:53 -0400 (Thu, 25 Oct 2007)
New Revision: 4888
Modified:
spi/trunk/src/main/java/org/jboss/wsf/spi/serviceref/ServiceRefHandler.java
spi/trunk/src/main/java/org/jboss/wsf/spi/serviceref/ServiceRefMetaData.java
Log:
Deprecate legacy service ref handling
Modified: spi/trunk/src/main/java/org/jboss/wsf/spi/serviceref/ServiceRefHandler.java
===================================================================
--- spi/trunk/src/main/java/org/jboss/wsf/spi/serviceref/ServiceRefHandler.java 2007-10-25
09:00:45 UTC (rev 4887)
+++ spi/trunk/src/main/java/org/jboss/wsf/spi/serviceref/ServiceRefHandler.java 2007-10-25
12:13:53 UTC (rev 4888)
@@ -42,10 +42,13 @@
enum Type {JAXRPC, JAXWS};
+ @Deprecated
ServiceRefMetaData newServiceRefMetaData();
+ @Deprecated
Object newChild(ServiceRefElement ref, UnmarshallingContext navigator, String
namespaceURI, String localName, Attributes attrs);
+ @Deprecated
void setValue(ServiceRefElement ref, UnmarshallingContext navigator, String
namespaceURI, String localName, String value);
void bindServiceRef(Context encCtx, String encName, UnifiedVirtualFile vfsRoot,
ClassLoader loader, ServiceRefMetaData sref) throws NamingException;
Modified: spi/trunk/src/main/java/org/jboss/wsf/spi/serviceref/ServiceRefMetaData.java
===================================================================
---
spi/trunk/src/main/java/org/jboss/wsf/spi/serviceref/ServiceRefMetaData.java 2007-10-25
09:00:45 UTC (rev 4887)
+++
spi/trunk/src/main/java/org/jboss/wsf/spi/serviceref/ServiceRefMetaData.java 2007-10-25
12:13:53 UTC (rev 4888)
@@ -47,8 +47,10 @@
public abstract void setProcessed(boolean flag);
+ @Deprecated
public abstract void importStandardXml(Element element);
+ @Deprecated
public abstract void importJBossXml(Element element);
public abstract void merge(ServiceRefMetaData targetRef);