org.jasig.portal.tools
Class RegisterChannelType

java.lang.Object
  extended by org.jasig.portal.tools.RegisterChannelType

public class RegisterChannelType
extends Object

A tool for registering a new channel type with uPortal. Channel types are defined by a java class name and an associated channel publishing document. Once added with this tool, a channel type will be available to channel publishers for the production of new channel definitions based on the channel type.

Usage: RegisterChannelType

Version:
$Revision: 19776 $
Author:
Ken Weiner, kweiner@unicon.net

Field Summary
protected static IChannelRegistryStore chanRegStore
           
 
Constructor Summary
RegisterChannelType()
           
 
Method Summary
static void main(String[] args)
           
static String register(String clazz, String name, String description, String uri)
          Registers a new channel type for the given parameters or updates an existing type with the specified parameters if an existing type is found having the specified uri.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

chanRegStore

protected static IChannelRegistryStore chanRegStore
Constructor Detail

RegisterChannelType

public RegisterChannelType()
Method Detail

main

public static void main(String[] args)

register

public static String register(String clazz,
                              String name,
                              String description,
                              String uri)
                       throws Exception
Registers a new channel type for the given parameters or updates an existing type with the specified parameters if an existing type is found having the specified uri.

Throws:
Exception


Copyright © 2010 Jasig. All Rights Reserved.