beanMethodMap = new HashMap();
AttributeAnalysis[] attrs = interfaceAnalysis.getAttributes();
for (int i = 0; i < attrs.length; i++) {
OperationAnalysis op = attrs[i].getAccessorAnalysis();
logger.debug(" " + op.getJavaName()
+ "\n " + op.getIDLName());
beanMethodMap.put(op.getIDLName(),
new SkeletonStrategy(op.getMethod()));
op = attrs[i].getMutatorAnalysis();
if (op != null) {
logger.debug(" " + op.getJavaName()
+ "\n " + op.getIDLName());
beanMethodMap.put(op.getIDLName(),
new SkeletonStrategy(op.getMethod()));
}
}
OperationAnalysis[] ops = interfaceAnalysis.getOperations();
for (int i = 0; i < ops.length; i++) {
logger.debug(" " + ops[i].getJavaName()
+ "\n " + ops[i].getIDLName());
beanMethodMap.put(ops[i].getIDLName(),
new SkeletonStrategy(ops[i].getMethod()));
}
// Initialize repository ids of remote interface
beanRepositoryIds = interfaceAnalysis.getAllTypeIds();
// Create home method mappings for container invoker
logger.debug("Home methods:");
interfaceAnalysis =
InterfaceAnalysis.getInterfaceAnalysis(
((EJBProxyFactoryContainer)container).getHomeClass());
homeMethodMap = new HashMap();
attrs = interfaceAnalysis.getAttributes();
for (int i = 0; i < attrs.length; i++) {
OperationAnalysis op = attrs[i].getAccessorAnalysis();
logger.debug(" " + op.getJavaName()
+ "\n " + op.getIDLName());
homeMethodMap.put(op.getIDLName(),
new SkeletonStrategy(op.getMethod()));
op = attrs[i].getMutatorAnalysis();
if (op != null) {
logger.debug(" " + op.getJavaName()
+ "\n " + op.getIDLName());
homeMethodMap.put(op.getIDLName(),
new SkeletonStrategy(op.getMethod()));
}
}
ops = interfaceAnalysis.getOperations();
for (int i = 0; i < ops.length; i++) {