This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 111267 - Need to have access to some private API in j2eeserver
Summary: Need to have access to some private API in j2eeserver
Status: NEW
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Infrastructure (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-27 21:31 UTC by Jun Qian
Modified: 2007-08-30 17:37 UTC (History)
0 users

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jun Qian 2007-07-27 21:31:54 UTC
enterprise/compapp/projectjbi needs to be a friend of the j2eeserver to access some private API to interact with the
appserver (See #84530). However, j2eeserver already exposes a public API, and the NetBeans module system doesn't allow
public and friend API at once, currently an implementation dependency is used in enterprise/compapp/projectjbi. It would
be nice if this implementation dependency be removed.

http://enterprise.netbeans.org/source/browse/enterprise/compapp/projectjbi/antsrc/org/netbeans/modules/compapp/projects/jbi/anttasks/DeployServiceAssembly.java?r1=1.3&r2=1.4
lists the private API access. #63997 has a solution to this kind of problem. Alternatively, we could make some private
API in j2eeserver public.