|
Extension SDK 10.1.2 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.jdeveloper.runner.EmbeddedServerCallback
Class used by JDeveloper to callback code containing Node-specific customizations for embedded server behavior.
Constructor Summary | |
EmbeddedServerCallback()
|
Method Summary | |
void |
choiceSelected(int index)
If the callback has overridden getNumberOfChoices and getDisplayableForChoice(int), JDeveloper will call this method with the selected index immediately after the user has chosen an item. |
Displayable |
getDisplayableForChoice(int index)
If the callback returned greater-than-zero from getNumberOfChoices, JDeveloper will call this method with indexes from 0 to N-1. |
int |
getNumberOfChoices()
If the callback returns greater-than-zero from this method, JDeveloper will call getDisplayableForChoice(int) with indexes from 0 to N-1. |
java.lang.String |
getTargetURLContextRoot()
Allows the callback to override the context root in the target URL. |
java.lang.String |
getTargetURLHost()
Allows the callback to override the hostname in the target URL. |
java.lang.String |
getTargetURLPath()
Allows the callback to override the path part of the URL that follows the context root. |
int |
getTargetURLPort()
Allows the callback to override the port in the target URL. |
java.lang.String |
getTargetURLProtocol()
Allows the callback to override the protocol of the target URL. |
java.lang.String |
getTargetURLQuery()
Allows the callback to specify the query part of the URL. |
java.lang.String |
getTargetURLRef()
Allows the callback to specify the ref part of the URL. |
java.lang.String |
getTargetURLUserInfo()
Allows the callback to specify the userinfo part of the target URL. |
boolean |
isOverridingTargetURL()
If the callback returns true from this method, JDeveloper will call all of the getTargetURL* methods to get all the parts of the overridden URL. |
void |
postInitEmbeddedServer(boolean isNewServerProcess)
Called when the server initialization is complete. |
boolean |
preferHotDeploy(java.util.List reasonsWhyNot)
This method allows an extension to indicate whether or not hot deployment should be attempted. |
boolean |
preventBrowser()
If the callback returns true from this method, JDeveloper will not launch a browser. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public EmbeddedServerCallback()
Method Detail |
public int getNumberOfChoices()
getDisplayableForChoice(int)
,
choiceSelected(int)
public Displayable getDisplayableForChoice(int index)
getNumberOfChoices()
,
choiceSelected(int)
public void choiceSelected(int index)
getNumberOfChoices()
,
getDisplayableForChoice(int)
public boolean preventBrowser()
public boolean isOverridingTargetURL()
The default return value is false.
public java.lang.String getTargetURLProtocol()
public java.lang.String getTargetURLUserInfo()
public java.lang.String getTargetURLHost()
public int getTargetURLPort()
public java.lang.String getTargetURLContextRoot()
public java.lang.String getTargetURLPath()
public java.lang.String getTargetURLQuery()
public java.lang.String getTargetURLRef()
public boolean preferHotDeploy(java.util.List reasonsWhyNot)
reasonsWhyNot
- If the return value is false, the method
optionally may append reasons why hot deployment cannot be
used. These messages will be displayed to the user in the
log window, one line per item in the reasons List. The
specified List will always be non-null.
public void postInitEmbeddedServer(boolean isNewServerProcess)
isNewServerProcess
- If true, the server process is new.
If false, the server has just been reconfigured using hot
deployment.
|
Extension SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.