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

Summary: Need to have access to some private API in j2eeserver
Product: serverplugins Reporter: Jun Qian <jqian>
Component: InfrastructureAssignee: Petr Hejl <phejl>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: TASK Exception Reporter:

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.