Author: mcombellack
Date: Thu Mar 20 05:54:38 2008
New Revision: 639271
URL: http://svn.apache.org/viewvc?rev=639271&view=rev
Log:
Minor JavaDoc updates and spelling corrections
Modified:
incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/context/CallableReferenceImpl.java
incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/context/ComponentContextHelper.java
incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/conversation/ConversationManager.java
incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/event/ComponentStart.java
incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/CallableReferenceObjectFactory.java
incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/CallbackReferenceObjectFactory.java
incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/JDKInvocationHandler.java
incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/NonBlockingInterceptor.java
incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/ProxyFactory.java
incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/ThreadMessageContext.java
incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/scope/AbstractScopeContainer.java
incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/scope/ConversationalScopeContainer.java
incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/work/Jsr237WorkScheduler.java
incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/work/ThreadPoolWorkManager.java
Modified:
incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/context/CallableReferenceImpl.java
URL:
http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/context/CallableReferenceImpl.java?rev=639271&r1=639270&r2=639271&view=diff
==============================================================================
---
incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/context/CallableReferenceImpl.java
(original)
+++
incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/context/CallableReferenceImpl.java
Thu Mar 20 05:54:38 2008
@@ -108,7 +108,8 @@
this.component = component;
this.reference = reference;
this.binding = binding;
- // FIXME: The SCA spec is not clear how we should handle multiplicty
for CallableReference
+ // FIXME: The SCA Specification is not clear how we should handle
multiplicity
+ // for CallableReference
if (this.binding == null) {
this.binding = this.reference.getBinding(SCABinding.class);
if (this.binding == null) {
@@ -210,8 +211,8 @@
public Conversation getConversation() {
try {
- // resolve from XML just in case this callable reference is the
result of
- // passing a callable reference as a parameter
+ // resolve from XML just in case this CallableReference is the
result of
+ // passing a CallableReference as a parameter
resolve();
if (conversation == null || conversation.getState() ==
ConversationState.ENDED) {
@@ -325,7 +326,8 @@
}
}
}
- // FIXME: The SCA spec is not clear how we should handle
multiplicty for CallableReference
+ // FIXME: The SCA Specification is not clear how we should
handle multiplicity
+ // for CallableReference
if (binding == null) {
binding = reference.getBinding(SCABinding.class);
if (binding == null) {
Modified:
incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/context/ComponentContextHelper.java
URL:
http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/context/ComponentContextHelper.java?rev=639271&r1=639270&r2=639271&view=diff
==============================================================================
---
incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/context/ComponentContextHelper.java
(original)
+++
incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/context/ComponentContextHelper.java
Thu Mar 20 05:54:38 2008
@@ -71,7 +71,7 @@
/**
* @param assemblyFactory The factory to create assembly models
- * @param processors The extension point for stax artifact processors
+ * @param processors The extension point for StAX artifact processors
*/
public ComponentContextHelper(AssemblyFactory assemblyFactory,
JavaInterfaceFactory javaInterfaceFactory,
Modified:
incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/conversation/ConversationManager.java
URL:
http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/conversation/ConversationManager.java?rev=639271&r1=639270&r2=639271&view=diff
==============================================================================
---
incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/conversation/ConversationManager.java
(original)
+++
incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/conversation/ConversationManager.java
Thu Mar 20 05:54:38 2008
@@ -48,7 +48,7 @@
void expireConversation(Object conversationID);
/**
- * Add a listner to this conversation
+ * Add a listener to this conversation
* @param listener
*/
void addListener(ConversationListener listener);
Modified:
incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/event/ComponentStart.java
URL:
http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/event/ComponentStart.java?rev=639271&r1=639270&r2=639271&view=diff
==============================================================================
---
incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/event/ComponentStart.java
(original)
+++
incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/event/ComponentStart.java
Thu Mar 20 05:54:38 2008
@@ -36,7 +36,7 @@
* Creates a component start event
*
* @param source the source of the event
- * @param componentURI the uri of the component being started
+ * @param componentURI the URI of the component being started
*/
public ComponentStart(Object source, URI componentURI) {
this.source = source;
Modified:
incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/CallableReferenceObjectFactory.java
URL:
http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/CallableReferenceObjectFactory.java?rev=639271&r1=639270&r2=639271&view=diff
==============================================================================
---
incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/CallableReferenceObjectFactory.java
(original)
+++
incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/CallableReferenceObjectFactory.java
Thu Mar 20 05:54:38 2008
@@ -26,7 +26,7 @@
import org.osoa.sca.CallableReference;
/**
- * Uses a wire to return a callable reference
+ * Uses a wire to return a CallableReference
*
* @version $Rev$ $Date$
*/
Modified:
incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/CallbackReferenceObjectFactory.java
URL:
http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/CallbackReferenceObjectFactory.java?rev=639271&r1=639270&r2=639271&view=diff
==============================================================================
---
incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/CallbackReferenceObjectFactory.java
(original)
+++
incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/CallbackReferenceObjectFactory.java
Thu Mar 20 05:54:38 2008
@@ -26,7 +26,7 @@
import org.osoa.sca.CallableReference;
/**
- * Uses a wire to return a callable reference
+ * Uses a wire to return a CallableReference
*
* @version $Rev: 574648 $ $Date: 2007-09-11 18:45:36 +0100 (Tue, 11 Sep 2007)
$
*/
Modified:
incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/JDKInvocationHandler.java
URL:
http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/JDKInvocationHandler.java?rev=639271&r1=639270&r2=639271&view=diff
==============================================================================
---
incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/JDKInvocationHandler.java
(original)
+++
incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/JDKInvocationHandler.java
Thu Mar 20 05:54:38 2008
@@ -372,7 +372,7 @@
conversation.initializeConversationAttributes(wire.getTarget().getComponent());
}
- // connect the conversation to the callable reference so it can be
retrieve in the future
+ // connect the conversation to the CallableReference so it can be
retrieve in the future
if (callableReference != null) {
((CallableReferenceImpl)callableReference).attachConversation(conversation);
}
Modified:
incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/NonBlockingInterceptor.java
URL:
http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/NonBlockingInterceptor.java?rev=639271&r1=639270&r2=639271&view=diff
==============================================================================
---
incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/NonBlockingInterceptor.java
(original)
+++
incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/NonBlockingInterceptor.java
Thu Mar 20 05:54:38 2008
@@ -52,7 +52,7 @@
}
/**
- * Sets desired workScheduler to NonBlockingInterceptor. This is a usefull
function for the extension framework
+ * Sets desired workScheduler to NonBlockingInterceptor. This is a useful
function for the extension framework
* to set desired workmanager on the InvocationChain, other than default
workmanager which is set per Tuscany runtime.
* Using this function, extension framework can set desired workmanager on
InvocationChain during post wire processing.
* @param workScheduler workScheduler which contains workmanager
Modified:
incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/ProxyFactory.java
URL:
http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/ProxyFactory.java?rev=639271&r1=639270&r2=639271&view=diff
==============================================================================
---
incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/ProxyFactory.java
(original)
+++
incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/ProxyFactory.java
Thu Mar 20 05:54:38 2008
@@ -42,9 +42,9 @@
<T> T createProxy(Class<T> interfaze, RuntimeWire wire) throws
ProxyCreationException;
/**
- * Creates a Java proxy for the given callable reference
+ * Creates a Java proxy for the given CallableReference
*
- * @param callableReference The callable reference
+ * @param callableReference The CallableReference
* @return the proxy
* @throws ProxyCreationException
*/
@@ -62,7 +62,7 @@
/**
* Creates a Java proxy for the given callback reference
*
- * @param callableReference The callable reference
+ * @param callableReference The CallableReference
* @return the proxy
* @throws ProxyCreationException
*/
@@ -72,7 +72,7 @@
* Cast a proxy to a CallableReference.
*
* @param target a proxy generated by this implementation
- * @return a CallableReference (or subclass) equivalent to this prozy
+ * @return a CallableReference (or subclass) equivalent to this proxy
* @throws IllegalArgumentException if the object supplied is not a proxy
*/
<B, R extends CallableReference<B>> R cast(B target) throws
IllegalArgumentException;
Modified:
incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/ThreadMessageContext.java
URL:
http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/ThreadMessageContext.java?rev=639271&r1=639270&r2=639271&view=diff
==============================================================================
---
incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/ThreadMessageContext.java
(original)
+++
incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/ThreadMessageContext.java
Thu Mar 20 05:54:38 2008
@@ -22,7 +22,7 @@
import org.apache.tuscany.sca.invocation.Message;
/**
- * Class for tunneling a WorkContext through the invocation of a user class.
+ * Class for tunnelling a WorkContext through the invocation of a user class.
*
* @version $Rev$ $Date$
*/
Modified:
incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/scope/AbstractScopeContainer.java
URL:
http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/scope/AbstractScopeContainer.java?rev=639271&r1=639270&r2=639271&view=diff
==============================================================================
---
incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/scope/AbstractScopeContainer.java
(original)
+++
incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/scope/AbstractScopeContainer.java
Thu Mar 20 05:54:38 2008
@@ -68,7 +68,7 @@
}
public InstanceWrapper getAssociatedWrapper(KEY contextId) throws
TargetResolutionException {
- return getWrapper(contextId); // TODO: what is this method spossed to
do diff than getWrapper?
+ return getWrapper(contextId); // TODO: what is this method supposed to
do diff than getWrapper?
}
public Scope getScope() {
@@ -104,7 +104,7 @@
}
/**
- * Default implmentation of remove which does nothing
+ * Default implementation of remove which does nothing
*
* @param contextId the identifier of the context to remove.
*/
Modified:
incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/scope/ConversationalScopeContainer.java
URL:
http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/scope/ConversationalScopeContainer.java?rev=639271&r1=639270&r2=639271&view=diff
==============================================================================
---
incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/scope/ConversationalScopeContainer.java
(original)
+++
incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/scope/ConversationalScopeContainer.java
Thu Mar 20 05:54:38 2008
@@ -134,7 +134,7 @@
this.instanceLifecycleCollection.put(contextId, anInstanceWrapper);
}
- // The remove is invoked when a conversation is explicitly ended. This can
ccur by using the @EndsConversation or API.
+ // The remove is invoked when a conversation is explicitly ended. This can
occur by using the @EndsConversation or API.
// In this case the instance is immediately removed. A new conversation
will be started on the next operation
// associated with this conversationId's service reference.
//
Modified:
incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/work/Jsr237WorkScheduler.java
URL:
http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/work/Jsr237WorkScheduler.java?rev=639271&r1=639270&r2=639271&view=diff
==============================================================================
---
incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/work/Jsr237WorkScheduler.java
(original)
+++
incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/work/Jsr237WorkScheduler.java
Thu Mar 20 05:54:38 2008
@@ -35,7 +35,7 @@
* <p/>
* This needs a JSR 237 work manager implementation available for scheduling
work. Instances can be configured with a
* work manager implementation that is injected in. It is the responsibility
of the runtime environment to make a work
- * manager implementaion available. For example, if the managed environment
supports work manager the runtime can use
+ * manager implementation available. For example, if the managed environment
supports work manager the runtime can use
* the appropriate lookup mechanism to inject the work manager implementation.
</p>
*/
public class Jsr237WorkScheduler implements WorkScheduler {
@@ -113,7 +113,7 @@
}
/*
- * Worklistener for keeping track of work status callbacks.
+ * WorkListener for keeping track of work status callbacks.
*
*/
private class Jsr237WorkListener<T extends Runnable> implements
WorkListener {
Modified:
incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/work/ThreadPoolWorkManager.java
URL:
http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/work/ThreadPoolWorkManager.java?rev=639271&r1=639270&r2=639271&view=diff
==============================================================================
---
incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/work/ThreadPoolWorkManager.java
(original)
+++
incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/work/ThreadPoolWorkManager.java
Thu Mar 20 05:54:38 2008
@@ -126,7 +126,7 @@
}
/**
- * Method provided for subclasses to indicate a work accptance.
+ * Method provided for subclasses to indicate a work acceptance.
*
* @param workItem Work item representing the work that was accepted.
* @param work Work that was accepted.
@@ -175,7 +175,7 @@
}
/*
- * Schedules the work using the threadpool.
+ * Schedules the work using the ThreadPool.
*/
private boolean scheduleWork(final Work work, final WorkItemImpl workItem)
{
try {
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]