|
Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bea.p13n.placeholder.PlaceholderHelper
public class PlaceholderHelper
Utility routines used by the placeholder service and tag.
Field Summary |
---|
Fields inherited from interface com.bea.p13n.placeholder.PlaceholderConstants |
---|
ADBUCKET_ENV_NAME, PLACEHOLDER_DB_NAME, PLACEHOLDER_NAME, PLACEHOLDER_PREVIEW_DB_NAME |
Constructor Summary | |
---|---|
PlaceholderHelper()
|
Method Summary | |
---|---|
static String |
cleanupNamespaces(String src)
Remove the namespace qualifiers from an XML string |
static String |
getDefaultPlaceholderServiceName()
Get the default JNDI name for the a current application's PlaceholderService. |
static PlaceholderService |
getPlaceholderService()
Deprecated Use the <ejb-ref> instead |
static PlaceholderService |
getPlaceholderService(String name)
|
static String |
getPreviewXML(Connection con,
long id)
Deprecated Use PlaceholderService.getPreviewSlot(long) instead. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PlaceholderHelper()
Method Detail |
---|
public static PlaceholderService getPlaceholderService() throws javax.ejb.CreateException
javax.ejb.CreateException
- when we fail to create the PlaceholderServicepublic static PlaceholderService getPlaceholderService(String name) throws javax.ejb.CreateException
javax.ejb.CreateException
public static String getDefaultPlaceholderServiceName()
public static String getPreviewXML(Connection con, long id) throws SQLException
PlaceholderService.getPreviewSlot(long)
instead.
id
- the id of the preview
SQLException
public static String cleanupNamespaces(String src)
|
Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |