input
stringlengths
10
828
output
stringlengths
5
107
public boolean prepare to show return true
called in a background thread before this is actually shown
public void set default button jbutton default button mice global set default button this default button
set the given button as default button and make sure that
public int hash code int result 0 if this value null this name null return 0 if null value result this value hash code if null name result this name hash code return math abs result 29
returns a hash code value for the object
public boolean equals object o if this o return true if o instanceof service provider attribute return false if name equals service provider attribute o name if value equals service provider attribute o value return true return false return false
indicates whether some other object is equal to this one
public void set reference font size int reference font size reference font size reference font size
set the font size used as a reference when this component was
protected void next next
increase next counter
protected service transform service item proxy entry entries service attribute attrs here we will transform the service item into a service object entries proxy attribute sets int count 0 for int i 0 i entries length i if entries i instanceof service attribute count attrs new service attribute count reset count count 0...
transform a service item into a service object
public service get next service service item proxies if proxies null proxies length 0 if last proxies length did the length of the array change last proxies length next 0 return null
you must override this method
public void run if logger is debug enabled logger debug lookup monitor thread started run background thread here and regularly check lookup servers while true try refresh if logger is debug enabled logger debug lookup monitor thread sleeping thread sleep service provider get lookup refresh timeout if logger is debug en...
when an object implementing interface code runnable code is used
public boolean should start with internal frame if owner null only for testing return false return owner has internal frame
answer whether this should start with an internal frame
public void set admin jini service admin admin this admin admin
bind the service to the jini service admin
public properties get settings throws faulty service exception try return callback get settings catch remote exception e throw new faulty service exception e get message
provide a clean exception handling
public void service started service id id string hostname your implementation here
service is now registered joined in the lookupservice
public void service terminated service id id string hostname logger info received service terminated shutting down do your clean up here service null provide a gracefull shutdown of this service rmi latency etc new thread public void run try thread sleep sleep system exit 0 catch interrupted exception e can be ignored ...
the service has been terminated through the jini service admin
public int compare to object o return value compare to load object o value
supporting method for stored value
public void service removed service event se
service has been removed from the lus
public void service changed service event se class name of interface
service has changed in the lus
public void service added service event se class name of interface
a new service has been added to the lus
public void service discovered service item service item class name of interface jini service activator action
the service has been discovered from a lus in the group
public void make link entry e if e null e instanceof service attribute throw new class cast exception expected org epoline jsf entries service attribute link service attribute e init
make a link to an entry object
public entry follow link return link
return the entry linked to by this java beans component
public int hash code return hash code this
returns a hash code
public int get environment return environment
insert the methods description here
public int get port number return port number
insert the methods description here
public void set parameters string parameters
its doing nothing
public void set commands java lang string new commands commands new commands
insert the methods description here
public void set daemon rmi url java lang string new daemon rmi url daemon rmi url new daemon rmi url
insert the methods description here
public void set environment int new environment environment new environment
insert the methods description here
public void set ipaddress java lang string new ipaddress ipaddress new ipaddress
insert the methods description here
public void set kill key java lang string new kill key kill key new kill key
insert the methods description here
public void set name java lang string new name name new name
insert the methods description here
public void set port number int new port number port number new port number
insert the methods description here
public void set rmi url java lang string new rmi url rmi url new rmi url
insert the methods description here
public void set status color java lang string new status color status color new status color
insert the methods description here
public void set reference font size int reference font size this reference font size reference font size
set the font size used as a reference when this component was
public void set status label java lang string new status label status label new status label
insert the methods description here
public void window closed
is called when this closed
public string get service color return service color
returns the service color
public string get service label return service label
returns the service label
public void set service color string service color this service color service color
sets the service color
public void set service label string service label this service label service label
sets the service label
public void set status int status this status status
sets the status
public jphoenix host list get jphoenix host list int the indice if the indice get jphoenix host lists length return get jphoenix host lists the indice else return null
insert the methods description here
public jphoenix host list get jphoenix host list string the name check the selected one for int i 0 i j phoenix host lists length i if get jphoenix host list i get name equals the name put found host bean in context return get jphoenix host list i return null
insert the methods description here
public int get nb servers return j phoenix host lists length
insert the methods description here
private void set daemon registry name java lang string new daemon registry name daemon registry name new daemon registry name
insert the methods description here
private void set jphoenix host lists jphoenix host list new jphoenix host lists j phoenix host lists new jphoenix host lists
insert the methods description here
public string get right string the server hashtable my rights get access rights if my rights null return generic monitoring interface habilitation read if my rights contains key the server the user rights for the server are in the hashtable retrieve them return string my rights get the server else the user rights for t...
get back the authorizations of a user for a specified server
public boolean is not authorized string the server a user gets read write rights only when the habilitation equals rw if get right the server trim equals generic monitoring interface habilitation readwrite return false else return true
check whether the user is authorized for updates
public int get nb environments return j phoenix environments length
insert the methods description here
private void set jphoenix environments jphoenix environment new jphoenix environments j phoenix environments new jphoenix environments
insert the methods description here
private void set label java lang string new label label new label
insert the methods description here
private void set name java lang string new name name new name
insert the methods description here
public void add error messages string new error messages for int i 0 i new error messages length i add error message new error messages i
insert the methods description here
private void set error messages string new error messages error messages new error messages
insert the methods description here
public jphoenix host get jphoenix host int the indice if the indice get jphoenix hosts length return get jphoenix hosts the indice else return null
insert the methods description here
public jphoenix host get jphoenix host string the name check the selected one for int i 0 i get jphoenix hosts length i if get jphoenix host i get name equals the name put found host bean in context return get jphoenix host i return null
insert the methods description here
private void set icon java lang string new icon icon new icon
insert the methods description here
private user context get user context return user context
insert the methods description here
public void set jphoenix hosts jphoenix host new jphoenix hosts j phoenix hosts new jphoenix hosts
insert the methods description here
private void set daemon org epo jphoenix daemon jphoenix daemon interface new daemon daemon new daemon
insert the methods description here
private void set user context user context new user context user context new user context
insert the methods description here
private void trace int the level string the message throws invalid session exception get user context get trace user trace the level d the message get user context exception message in sysout if the level 8 system out println the level deamon rmicomm the message
insert the methods description here
private string check get property properties the prop file string the property throws jphoenix gui exception string my value the prop file get property the property if my value null my value trim equals string my msg missing mandatory field in the properties file the property trace 2 my msg throw new jphoenix gui excep...
check whether mandatory fields from the properties file are filled in
public boolean should start with internal frame return mice global is mice in use info bean get property open externally
answer whether this should start with an internal frame
private void set trace org epo gui jphoenix generic gui trace new trace trace new trace
insert the methods description here
private void trace int the level string the message get trace send trace the level a the message
insert the methods description here
private authentication interface get authentication interface return authentication interface
returns the authentication interface
private void set authentication interface authentication interface authentication interface this authentication interface authentication interface
sets the authentication interface
private properties get authentication information return authentication information
returns the authentication information
private void set authentication information properties authentication information this authentication information authentication information
sets the authentication information
private string get default user id return default user id
returns the default user id
private string get default user pwd return default user pwd
returns the default user pwd
private void set default user id string default user id this default user id default user id
sets the default user id
private void set default user pwd string default user pwd this default user pwd default user pwd
sets the default user pwd
public int get overview refresh time return overview refresh time
insert the methods description here
private boolean is started return started
insert the methods description here
private void set user context org epo gui jphoenix generic user context new user context user context new user context
insert the methods description here
private void trace int the level string the message throws invalid session exception get user context get trace user trace the level p the message get user context exception message in sysout if the level 8 system out println the level process manager the message
insert the methods description here
private void set return code int new value this return code new value
this method was created in visual age
protected void set message java lang string new message call the html javascript text formater message htmlconvert format java script text new message
insert the methods description here
private void set http session javax servlet http http session new http session http session new http session
insert the methods description here
private void set servlet context javax servlet servlet context new servlet context servlet context new servlet context
insert the methods description here
public object get attribute string the key int the scope throws invalid session exception switch the scope case application return get servlet context get attribute the key case session return get http session get attribute the key case request return get servlet request get attribute the key return null
insert the methods description here
public http session get http session return http session
insert the methods description here
public gui trace get trace return trace
insert the methods description here
public void remove attribute string the key int the scope throws invalid session exception switch the scope case application get servlet context remove attribute the key break case session get http session remove attribute the key break
insert the methods description here
public void set attribute string the key object the value int the scope throws invalid session exception switch the scope case application get servlet context set attribute the key the value break case session get http session set attribute the key the value break case request get servlet request set attribute the key ...
add an attribute to the session of the user context
private void set action list java util linked list new action list action list new action list
insert the methods description here
private void set trace gui trace new trace trace new trace
insert the methods description here
private void trace int the level string the message throws invalid session exception get trace user trace the level u the message this
insert the methods description here
public string get error jsp url return error jsp url
insert the methods description here
public string get jsp url return jsp url
insert the methods description here
public void set action code java lang string new action code action code new action code
insert the methods description here
private void set jsp path java lang string new jsp path jsp path new jsp path
insert the methods description here
public void set error jsp url string new error jsp url error jsp url new error jsp url
insert the methods description here
public void set jsp url java lang string new jsp url jsp url new jsp url
insert the methods description here
private string get date time get the current time in milliseconds long my time stamp system current time millis create and set a date object java util date my date new java util date my time stamp my date set time my time stamp format the date java text simple date format my df new java text simple date format yyyy mm ...
insert the methods description here
private int get trace level return trace level
insert the methods description here
public void send trace int the level string the message string my trace message if the level get trace level try my trace message get date time l the level the message r n get trace out stream write my trace message get bytes get trace out stream flush catch java io ioexception e problem to write in the trace notify th...
insert the methods description here