Skip to content

Commit

Permalink
Add some blocks to build
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/cocoon/trunk/blocks/cocoon-apples@392923 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
cziegeler committed Apr 10, 2006
1 parent a395d8f commit 69aa0f8
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 23 deletions.
2 changes: 1 addition & 1 deletion cocoon-apples-impl/pom.xml
Expand Up @@ -26,7 +26,7 @@
<parent>
<groupId>org.apache.cocoon</groupId>
<artifactId>cocoon-apples</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1-SNAPSHOT</version>
</parent>

<modelVersion>4.0.0</modelVersion>
Expand Down
Expand Up @@ -19,12 +19,9 @@

import org.apache.avalon.framework.CascadingRuntimeException;
import org.apache.avalon.framework.activity.Disposable;
import org.apache.avalon.framework.component.WrapperComponentManager;
import org.apache.avalon.framework.context.ContextException;
import org.apache.avalon.framework.context.DefaultContext;
import org.apache.avalon.framework.service.ServiceException;
import org.apache.avalon.framework.service.ServiceManager;
import org.apache.avalon.framework.service.Serviceable;
import org.apache.cocoon.components.ContextHelper;
import org.apache.cocoon.components.LifecycleHelper;
import org.apache.cocoon.components.flow.AbstractInterpreter;
Expand All @@ -39,11 +36,9 @@
* ApplesProcessor is the core Cocoon component that provides the 'Apples'
* flow implementation.
*/
public class ApplesProcessor extends AbstractInterpreter implements Serviceable, ContinuationsDisposer {


private ServiceManager serviceManager;

public class ApplesProcessor
extends AbstractInterpreter
implements ContinuationsDisposer {

public void callFunction(
String className,
Expand Down Expand Up @@ -74,9 +69,7 @@ public void callFunction(
throw new CascadingRuntimeException("Cannot get sitemap service manager", e);
}

LifecycleHelper.setupComponent( app, getLogger(), appleContext,
sitemapManager, new WrapperComponentManager(sitemapManager),
null, null, true);
LifecycleHelper.setupComponent( app, getLogger(), appleContext, sitemapManager, null, true);

processApple(params, redirector, app, wk);
}
Expand Down Expand Up @@ -171,12 +164,4 @@ public void disposeContinuation(WebContinuation webContinuation) {
}

}


public void service(ServiceManager serviceManager) throws ServiceException {
super.service(serviceManager);
this.serviceManager = serviceManager;
}


}
2 changes: 1 addition & 1 deletion cocoon-apples-sample/pom.xml
Expand Up @@ -27,7 +27,7 @@
<parent>
<groupId>org.apache.cocoon</groupId>
<artifactId>cocoon-apples</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1-SNAPSHOT</version>
</parent>

<groupId>org.apache.cocoon</groupId>
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Expand Up @@ -25,14 +25,14 @@
<parent>
<groupId>org.apache.cocoon</groupId>
<artifactId>cocoon-blocks-modules</artifactId>
<version>x-SNAPSHOT</version>
<version>1-SNAPSHOT</version>
</parent>

<modelVersion>4.0.0</modelVersion>

<groupId>org.apache.cocoon</groupId>
<artifactId>cocoon-apples</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1-SNAPSHOT</version>

<packaging>pom</packaging>

Expand Down

0 comments on commit 69aa0f8

Please sign in to comment.