|
uPortal 2.4.1 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jasig.portal.tools.chanpub.ChannelPublisher
This is a Channel Publisher tool to install uPortal channels from outside of the portal or from within a channel archive. Currently configured to be executed via Jakarta Ant or via a channel-definition block within a CAR deployment descriptor. Sample of command line arguments: ant publish -Dchannel=all (this will publish all channels that have a corresponding xml file) ant publish -Dchannel=webmail.xml (this will publish the specified channels)
Method Summary | |
static ChannelPublisher |
getChannelArchiveInstance()
|
static ChannelPublisher |
getCommandLineInstance()
|
static void |
main(java.lang.String[] args)
|
ChannelDefinition |
publishChannel(java.io.InputStream is)
Publishes the channel represented by the XML accessed via the passed in InputStream object and returns the resultant ChannelDefinition object. |
ChannelDefinition |
publishChannel(java.lang.String filename)
Publishes the channel represented by the XML located in the file represented by the passed in filename and returns the resultant ChannelDefinition object. |
void |
setOverride(boolean b)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static void main(java.lang.String[] args)
public ChannelDefinition publishChannel(java.lang.String filename) throws java.lang.Exception
filename
- the name of a file containing the channel XML definition
java.lang.Exception
public ChannelDefinition publishChannel(java.io.InputStream is) throws java.lang.Exception
is
- and InputStream containing the channel XML definition
java.lang.Exception
public void setOverride(boolean b)
public static ChannelPublisher getCommandLineInstance() throws java.lang.Exception
java.lang.Exception
public static ChannelPublisher getChannelArchiveInstance() throws java.lang.Exception
java.lang.Exception
|
uPortal 2.4.1 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |