You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ode.apache.org by bo...@apache.org on 2007/03/08 23:50:20 UTC
svn commit: r516213 -
/incubator/ode/trunk/jbi/src/main/java/org/apache/ode/jbi/OdeContext.java
Author: boisvert
Date: Thu Mar 8 14:50:19 2007
New Revision: 516213
URL: http://svn.apache.org/viewvc?view=rev&rev=516213
Log:
cleanup
Modified:
incubator/ode/trunk/jbi/src/main/java/org/apache/ode/jbi/OdeContext.java
Modified: incubator/ode/trunk/jbi/src/main/java/org/apache/ode/jbi/OdeContext.java
URL: http://svn.apache.org/viewvc/incubator/ode/trunk/jbi/src/main/java/org/apache/ode/jbi/OdeContext.java?view=diff&rev=516213&r1=516212&r2=516213
==============================================================================
--- incubator/ode/trunk/jbi/src/main/java/org/apache/ode/jbi/OdeContext.java (original)
+++ incubator/ode/trunk/jbi/src/main/java/org/apache/ode/jbi/OdeContext.java Thu Mar 8 14:50:19 2007
@@ -124,29 +124,16 @@
_context = ctx;
}
- /**
- * DOCUMENT ME!
- *
- * @return Transformation engine context
- */
public ComponentContext getContext() {
return _context;
}
- /**
- * Used to grab a reference of this object.
- *
- * @return an initialized TransformationEngineContext reference
- */
- public static synchronized OdeContext getInstance() {
- if (__self == null) {
- synchronized (OdeContext.class) {
- if (__self == null) {
- __self = new OdeContext();
- }
+ public static OdeContext getInstance() {
+ synchronized (OdeContext.class) {
+ if (__self == null) {
+ __self = new OdeContext();
}
}
-
return __self;
}
@@ -187,7 +174,7 @@
} else {
Definition def = pc.getDefinitionForService(endpoint.serviceName);
if (def == null) {
- __log.debug("Could not find definition for service: " + endpoint.serviceName);
+ __log.debug("Could not find definition for service: " + endpoint.serviceName);
} else {
def = new WSDLFlattener(def).getDefinition(portType);
Document doc = WSDLFactory.newInstance().newWSDLWriter().getDocument(def);