Skip to content

Commit

Permalink
Changed private methods to protected in AgentServlet and SingleAgentS…
Browse files Browse the repository at this point in the history
…ervlet
  • Loading branch information
josdejong committed Mar 11, 2013
1 parent 4f21e7e commit 341f62d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ protected void doDelete(HttpServletRequest req, HttpServletResponse resp)
* initialize the agent factory
* @throws Exception
*/
private void initAgentFactory() throws Exception {
protected void initAgentFactory() throws Exception {
// TODO: be able to choose a different namespace
agentFactory = AgentFactory.getInstance();
if (agentFactory != null) {
Expand Down Expand Up @@ -269,7 +269,7 @@ private void initAgentFactory() throws Exception {
* Initialize an HttpTransport service for the servlet
* @throws Exception
*/
private void initHttpTransport () throws Exception {
protected void initHttpTransport () throws Exception {
// TODO: one servlet must be able to support multiple servlet_urls

// try to read servlet url from init parameter environment.<environment>.servlet_url
Expand All @@ -295,7 +295,7 @@ private void initHttpTransport () throws Exception {
* Get a description on how to use this servlet
* @return info
*/
private String getServletDocs() {
protected String getServletDocs() {
String servletUrl = httpTransport.getServletUrl();
String info =
"EVE AGENTS SERVLET\n" +
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public void doPost(HttpServletRequest req, HttpServletResponse resp)
* initialize the agent factory
* @throws Exception
*/
private void initAgentFactory() throws Exception {
protected void initAgentFactory() throws Exception {
// TODO: be able to choose a different namespace
agentFactory = AgentFactory.getInstance();
if (agentFactory != null) {
Expand Down Expand Up @@ -146,7 +146,7 @@ private void initAgentFactory() throws Exception {
* Register this servlet at the agent factory
* @throws Exception
*/
private void initHttpTransport () throws Exception {
protected void initHttpTransport () throws Exception {
// TODO: one servlet must be able to support multiple servlet_urls

// try to read servlet url from init parameter environment.<environment>.servlet_url
Expand All @@ -172,7 +172,7 @@ private void initHttpTransport () throws Exception {
* Register this servlet at the agent factory
* @throws Exception
*/
private void initAgent () throws Exception {
protected void initAgent () throws Exception {
// TODO: use agent bootstrap mechanism instead

// retrieve the agents id
Expand Down

0 comments on commit 341f62d

Please sign in to comment.