Create a gist now

Instantly share code, notes, and snippets.

Embed
What would you like to do?
package demo;
import com.ibm.sbt.services.client.base.NamedUrlPart;
import com.ibm.sbt.services.client.connections.activitystreams.ActivityStreamService;
import com.ibm.sbt.services.endpoints.BasicEndpoint;
/**
* extends activity stream service so I can set a custom service component
*
*/
public class CustomActivityStream extends ActivityStreamService {
/**
*
*/
private static final long serialVersionUID = -2625685308211646683L;
/**
* base constructor calls to super constructor
*
* @param endpoint
*/
public CustomActivityStream(BasicEndpoint endpoint) {
super(endpoint);
}
/**
*
* @param component
*/
@Override
public NamedUrlPart getServiceMapping() {
return new NamedUrlPart("connections","common");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment