From: <st...@us...> - 2011-11-21 13:49:22
|
Revision: 8815 http://smartfrog.svn.sourceforge.net/smartfrog/?rev=8815&view=rev Author: steve_l Date: 2011-11-21 13:49:11 +0000 (Mon, 21 Nov 2011) Log Message: ----------- purge unneeded public prefix on interface method declarations Modified Paths: -------------- trunk/core/smartfrog/src/org/smartfrog/sfcore/prim/ChildMinder.java trunk/core/smartfrog/src/org/smartfrog/sfcore/prim/Diagnostics.java trunk/core/smartfrog/src/org/smartfrog/sfcore/prim/Dump.java trunk/core/smartfrog/src/org/smartfrog/sfcore/prim/Liveness.java trunk/core/smartfrog/src/org/smartfrog/sfcore/prim/Prim.java trunk/core/smartfrog/src/org/smartfrog/sfcore/prim/PrimHook.java trunk/core/smartfrog/src/org/smartfrog/sfcore/prim/Update.java Modified: trunk/core/smartfrog/src/org/smartfrog/sfcore/prim/ChildMinder.java =================================================================== --- trunk/core/smartfrog/src/org/smartfrog/sfcore/prim/ChildMinder.java 2011-11-15 17:11:49 UTC (rev 8814) +++ trunk/core/smartfrog/src/org/smartfrog/sfcore/prim/ChildMinder.java 2011-11-21 13:49:11 UTC (rev 8815) @@ -40,7 +40,7 @@ * * @throws RemoteException In case of Remote/nework error */ - public void sfAddChild(Liveness child) throws RemoteException; + void sfAddChild(Liveness child) throws RemoteException; /** * Remove a child. @@ -51,7 +51,7 @@ * @throws SmartFrogRuntimeException if failed to remove the child * @throws RemoteException In case of Remote/nework error */ - public boolean sfRemoveChild(Liveness child) throws SmartFrogRuntimeException, RemoteException; + boolean sfRemoveChild(Liveness child) throws SmartFrogRuntimeException, RemoteException; /** * Request whether implementor contains a given child. @@ -62,7 +62,7 @@ * * @throws RemoteException In case of Remote/nework error */ - public boolean sfContainsChild(Liveness child) throws RemoteException; + boolean sfContainsChild(Liveness child) throws RemoteException; /** * Gets an enumeration over the children of the implementor. @@ -71,5 +71,5 @@ * * @throws RemoteException In case of Remote/nework error */ - public Enumeration<Liveness> sfChildren() throws RemoteException; + Enumeration<Liveness> sfChildren() throws RemoteException; } Modified: trunk/core/smartfrog/src/org/smartfrog/sfcore/prim/Diagnostics.java =================================================================== --- trunk/core/smartfrog/src/org/smartfrog/sfcore/prim/Diagnostics.java 2011-11-15 17:11:49 UTC (rev 8814) +++ trunk/core/smartfrog/src/org/smartfrog/sfcore/prim/Diagnostics.java 2011-11-21 13:49:11 UTC (rev 8815) @@ -40,5 +40,5 @@ * @throws SmartFrogException failure * @throws RemoteException In case of Remote/nework error */ - public ComponentDescription sfDiagnosticsReport() throws SmartFrogException, RemoteException; + ComponentDescription sfDiagnosticsReport() throws SmartFrogException, RemoteException; } Modified: trunk/core/smartfrog/src/org/smartfrog/sfcore/prim/Dump.java =================================================================== --- trunk/core/smartfrog/src/org/smartfrog/sfcore/prim/Dump.java 2011-11-15 17:11:49 UTC (rev 8814) +++ trunk/core/smartfrog/src/org/smartfrog/sfcore/prim/Dump.java 2011-11-21 13:49:11 UTC (rev 8815) @@ -39,5 +39,5 @@ * * @throws RemoteException In case of Remote/nework error */ - public void dumpState(Object state, Prim from) throws RemoteException; + void dumpState(Object state, Prim from) throws RemoteException; } Modified: trunk/core/smartfrog/src/org/smartfrog/sfcore/prim/Liveness.java =================================================================== --- trunk/core/smartfrog/src/org/smartfrog/sfcore/prim/Liveness.java 2011-11-15 17:11:49 UTC (rev 8814) +++ trunk/core/smartfrog/src/org/smartfrog/sfcore/prim/Liveness.java 2011-11-21 13:49:11 UTC (rev 8815) @@ -43,5 +43,5 @@ * @throws SmartFrogLivenessException liveness failure * @throws RemoteException In case of Remote/nework error */ - public void sfPing(Object source) throws SmartFrogLivenessException, RemoteException; + void sfPing(Object source) throws SmartFrogLivenessException, RemoteException; } Modified: trunk/core/smartfrog/src/org/smartfrog/sfcore/prim/Prim.java =================================================================== --- trunk/core/smartfrog/src/org/smartfrog/sfcore/prim/Prim.java 2011-11-15 17:11:49 UTC (rev 8814) +++ trunk/core/smartfrog/src/org/smartfrog/sfcore/prim/Prim.java 2011-11-21 13:49:11 UTC (rev 8815) @@ -51,7 +51,7 @@ * @throws RemoteException In case of Remote/nework error * @throws SmartFrogRuntimeException when name or value are null */ - public Object sfAddAttribute(Object name, Object value) + Object sfAddAttribute(Object name, Object value) throws SmartFrogRuntimeException, RemoteException; /** @@ -65,7 +65,7 @@ * @throws RemoteException In case of Remote/nework error * @throws SmartFrogRuntimeException when name is null */ - public Object sfRemoveAttribute(Object name) + Object sfRemoveAttribute(Object name) throws SmartFrogRuntimeException, RemoteException; @@ -78,7 +78,7 @@ * * @throws RemoteException In case of Remote/nework error */ - public Object sfAttributeKeyFor(Object value) throws RemoteException; + Object sfAttributeKeyFor(Object value) throws RemoteException; /** * Returns true if the context contains value. @@ -89,7 +89,7 @@ * * @throws RemoteException In case of Remote/nework error */ - public boolean sfContainsValue(Object value) throws RemoteException; + boolean sfContainsValue(Object value) throws RemoteException; /** @@ -100,7 +100,7 @@ * * @throws RemoteException In case of Remote/nework error */ - public boolean sfContainsAttribute(Object attribute) throws RemoteException; + boolean sfContainsAttribute(Object attribute) throws RemoteException; @@ -116,7 +116,7 @@ * @throws RemoteException In case of Remote/nework error * @throws SmartFrogRuntimeException when name or value are null */ - public Object sfReplaceAttribute(Object name, Object value) + Object sfReplaceAttribute(Object name, Object value) throws SmartFrogRuntimeException, RemoteException; @@ -129,7 +129,7 @@ * * @throws RemoteException In case of Remote/nework error */ - public Iterator<Object> sfAttributes() throws RemoteException; + Iterator<Object> sfAttributes() throws RemoteException; /** * Returns an ordered iterator over the values in the context. @@ -140,7 +140,7 @@ * * @throws RemoteException In case of Remote/nework error */ - public Iterator<Object> sfValues() throws RemoteException; + Iterator<Object> sfValues() throws RemoteException; /** @@ -150,7 +150,7 @@ * * @throws RemoteException In case of Remote/nework error */ - public Context sfContext() throws RemoteException; + Context sfContext() throws RemoteException; /** @@ -162,7 +162,7 @@ * * @throws RemoteException In case of Remote/nework error */ - public Reference sfCompleteName() throws RemoteException; + Reference sfCompleteName() throws RemoteException; /** * Gets the parent of the component. @@ -171,7 +171,7 @@ * * @throws RemoteException In case of Remote/nework error */ - public Prim sfParent() throws RemoteException; + Prim sfParent() throws RemoteException; /** * Private method to set up a freshly deployed component. New primitives @@ -183,7 +183,7 @@ * @throws SmartFrogException failed to deploy primitive * @throws RemoteException In case of Remote/nework error */ - public void sfDeployWith(Prim parent, Context cxt) + void sfDeployWith(Prim parent, Context cxt) throws SmartFrogException, RemoteException; /** @@ -193,7 +193,7 @@ * @throws SmartFrogException error while deploying * @throws RemoteException In case of Remote/nework error */ - public void sfDeploy() throws SmartFrogException, RemoteException; + void sfDeploy() throws SmartFrogException, RemoteException; /** * Start the component's main processing thread. Implementations should @@ -202,7 +202,7 @@ * @throws SmartFrogException sfStart failure * @throws RemoteException In case of Remote/nework error */ - public void sfStart() throws SmartFrogException, RemoteException; + void sfStart() throws SmartFrogException, RemoteException; /** * Request component to "dump it's state" to a target object which @@ -212,7 +212,7 @@ * * @throws RemoteException In case of Remote/nework error */ - public void sfDumpState(Dump target) throws RemoteException; + void sfDumpState(Dump target) throws RemoteException; /** * Request component to terminate with a given termination status. This @@ -224,7 +224,7 @@ * * @throws RemoteException In case of Remote/nework error */ - public void sfTerminate(TerminationRecord status) throws RemoteException; + void sfTerminate(TerminationRecord status) throws RemoteException; /** * Request component to detach itself from its parent, and becoming a root @@ -233,7 +233,7 @@ * @throws SmartFrogException failed to detach * @throws RemoteException In case of Remote/nework error */ - public void sfDetach() throws SmartFrogException, RemoteException; + void sfDetach() throws SmartFrogException, RemoteException; /** * Request component to detach itself from its container and terminate with @@ -244,7 +244,7 @@ * * @throws RemoteException In case of Remote/nework error */ - public void sfDetachAndTerminate(TerminationRecord status) + void sfDetachAndTerminate(TerminationRecord status) throws RemoteException; /** @@ -256,7 +256,7 @@ * * @throws RemoteException In case of Remote/nework error */ - public void sfTerminatedWith(TerminationRecord status, Prim comp) + void sfTerminatedWith(TerminationRecord status, Prim comp) throws RemoteException; /** @@ -266,7 +266,7 @@ * * @throws RemoteException In case of Remote/nework error */ - public void sfTerminateQuietlyWith(TerminationRecord status) + void sfTerminateQuietlyWith(TerminationRecord status) throws RemoteException; /** @@ -276,7 +276,7 @@ * * @throws RemoteException In case of Remote/nework error */ - public InetAddress sfDeployedHost() throws RemoteException; + InetAddress sfDeployedHost() throws RemoteException; /** * Request the process in which this component is deployed, the name being @@ -287,44 +287,44 @@ * * @throws RemoteException In case of Remote/nework error */ - public String sfDeployedProcessName() throws RemoteException; + String sfDeployedProcessName() throws RemoteException; /** * Parentage changed in component hierachy. * @throws RemoteException In case of Remote/nework error */ - public void sfParentageChanged() throws RemoteException; + void sfParentageChanged() throws RemoteException; /** * Returns value of flag indicating if this component has been terminated. * @return true if the component is terminating * @throws RemoteException In case of Remote/network error */ - public boolean sfIsTerminated() throws RemoteException; + boolean sfIsTerminated() throws RemoteException; /** Returns value of flag indicating if this component is terminating. * @return true if the component is terminating * @throws RemoteException In case of Remote/network error */ - public boolean sfIsTerminating() throws RemoteException; + boolean sfIsTerminating() throws RemoteException; /** Returns value of flag indicating if this component has been deployed. * @return true if the component is deployed * @throws RemoteException In case of Remote/network error */ - public boolean sfIsDeployed() throws RemoteException; + boolean sfIsDeployed() throws RemoteException; /** Returns value of flag indicating if this component has been started. * @return true if the component is started * @throws RemoteException In case of Remote/network error */ - public boolean sfIsStarted() throws RemoteException; + boolean sfIsStarted() throws RemoteException; /** * Validate all ASSERTs in the context of the Prim, returning true if OK, false if not. * @return true if the assertions are valid * @throws RemoteException In case of Remote/network error */ - public boolean sfValid() throws RemoteException; + boolean sfValid() throws RemoteException; } Modified: trunk/core/smartfrog/src/org/smartfrog/sfcore/prim/PrimHook.java =================================================================== --- trunk/core/smartfrog/src/org/smartfrog/sfcore/prim/PrimHook.java 2011-11-15 17:11:49 UTC (rev 8814) +++ trunk/core/smartfrog/src/org/smartfrog/sfcore/prim/PrimHook.java 2011-11-21 13:49:11 UTC (rev 8815) @@ -42,6 +42,6 @@ * * @throws SmartFrogException failed to execute the hook */ - public void sfHookAction(Prim prim, TerminationRecord terminationRecord) + void sfHookAction(Prim prim, TerminationRecord terminationRecord) throws SmartFrogException; } Modified: trunk/core/smartfrog/src/org/smartfrog/sfcore/prim/Update.java =================================================================== --- trunk/core/smartfrog/src/org/smartfrog/sfcore/prim/Update.java 2011-11-15 17:11:49 UTC (rev 8814) +++ trunk/core/smartfrog/src/org/smartfrog/sfcore/prim/Update.java 2011-11-21 13:49:11 UTC (rev 8815) @@ -19,7 +19,7 @@ * @throws java.rmi.RemoteException * @throws org.smartfrog.sfcore.common.SmartFrogException - not OK to update */ - public void sfPrepareUpdate() throws RemoteException, SmartFrogException; + void sfPrepareUpdate() throws RemoteException, SmartFrogException; /** * Validate whether the component (and its children) can be updated @@ -28,7 +28,7 @@ * @throws java.rmi.RemoteException * @throws org.smartfrog.sfcore.common.SmartFrogException - failure, not OK to update */ - public boolean sfUpdateWith(Context newContext) throws RemoteException, SmartFrogException; + boolean sfUpdateWith(Context newContext) throws RemoteException, SmartFrogException; /** * Carry out the context update - no roll back from this point on. @@ -36,7 +36,7 @@ * @throws java.rmi.RemoteException * @throws org.smartfrog.sfcore.common.SmartFrogException - failure, to be treated like a normal lifecycle error, by default with termination */ - public void sfUpdate() throws RemoteException, SmartFrogException; + void sfUpdate() throws RemoteException, SmartFrogException; /** * Next phase of start-up after update - includes calling sfDeply on new children @@ -44,7 +44,7 @@ * @throws java.rmi.RemoteException * @throws org.smartfrog.sfcore.common.SmartFrogException */ - public void sfUpdateDeploy() throws RemoteException, SmartFrogException; + void sfUpdateDeploy() throws RemoteException, SmartFrogException; /** * Final phase of startup after update - includes calling sfStart on new children @@ -52,13 +52,13 @@ * @throws java.rmi.RemoteException * @throws org.smartfrog.sfcore.common.SmartFrogException */ - public void sfUpdateStart() throws RemoteException, SmartFrogException; + void sfUpdateStart() throws RemoteException, SmartFrogException; /** * Can occur after prepare and check, but not afterwards to roll back from actual update process. * @throws java.rmi.RemoteException */ - public void sfAbandonUpdate() throws RemoteException; + void sfAbandonUpdate() throws RemoteException; /** * Control of complete update process for a component, running through all the above phases. @@ -66,5 +66,5 @@ * @throws java.rmi.RemoteException * @throws org.smartfrog.sfcore.common.SmartFrogUpdateException */ - public void sfUpdateComponent(ComponentDescription desc) throws RemoteException, SmartFrogException; + void sfUpdateComponent(ComponentDescription desc) throws RemoteException, SmartFrogException; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |